Open bartgloudemans opened 3 weeks ago
Thanks for this PR! Overall I think this is a nice improvement that enables more extensibility.
This change also adds the ability to use specific $_GET
or $_POST
params instead of the $_REQUEST
param by just overriding the updated authenticate
function.
I noticed that the updated code has tabs instead of spaces, mabye you can update the code to use spaces.
@ricklambrechts Thanks for the feedback and sorry about the tabs, will correct those
Allowing the caller to call the magical request handler
authenticate
or to have more control over the process and call the individual actions themselfrequestAuthorization
,handleCode
,handleClaims
)authenticate()
makes use of newly created atomic actions