OAuthPersistence
Provides persistence for OAuth lifecycle values:
CrossSiteRequestForgeryToken - used to retrieve that authorisation code assignment responses are genuinely from the end-service.
AccessToken - provides time-limited access to protected API resources on the end-service.
Inheritors
Functions
Assign a CSRF token to this OAuth auth redirection (to the end-service) response. Opportunity here to modify the response returned to the user when the redirection happens.
Assign a nonce to this OIDC auth redirection (to the end-service) response. Opportunity here to modify the response returned to the user when the redirection happens.
opportunity to store the uri that the request was made before authentication this will then be redirected back to after auth
Assign the swapped AccessToken (and optional IdToken) returned by the end-service. Opportunity here to modify the response returned to the user when the redirection happens.
Build the default failure response which occurs when a failure occurs during the callback process (eg. a mismatch/missing CSRF or failure occurring when calling into the end-service for the access-token.
Retrieve the stored CSRF token for this user request
Retrieve the stored nonce token for this user request
Retrieve the stored original uri for this user request
Retrieve the stored AccessToken token for this user request