By default the state will include a csrf value that is stored in the as json object as well as the session in order to prevent cross site request forgery. You may use this method to add additional members to the state json object.
Overrides the default oauth behavior to hand back the redirect to your callback rather than do the redirect for you; handy when custom behavior is desired, or when you simply wish to use the endpoint that is calling this as a proxy
Start the authorization process
This callback gets called after authorization is successful. Required for all OAuth flows.
This callback gets called for errors. The default actions is:
throw new OAuthException(errorMssg);`
Callback when the code is not authorized.
Use this method if you need to add to the oauthSetup before calling authorize
Use this redirect Url instead of the one suggested by the relate provider entry.
TODO
Example