public static interface OAuth2IdentityProvider.CallbackContext extends OAuth2IdentityProvider.OAuth2Context
Modifier and Type | Method and Description |
---|---|
void |
authenticate(UserIdentity userIdentity)
Authenticate and register the user into the platform.
|
void |
redirectToRequestedPage()
Redirect the request to the requested page.
|
void |
verifyCsrfState()
Check that the state is valid.
|
void |
verifyCsrfState(java.lang.String parameterName)
Check that the state is valid
The state will be read from the given parameter name of the HTTP request
It should only be called If
OAuth2IdentityProvider.InitContext.generateCsrfState() was used in the init |
getCallbackUrl, getRequest, getResponse
void verifyCsrfState()
OAuth2IdentityProvider.InitContext.generateCsrfState()
was used in the initvoid verifyCsrfState(java.lang.String parameterName)
OAuth2IdentityProvider.InitContext.generateCsrfState()
was used in the initvoid redirectToRequestedPage()
OAuth2IdentityProvider.callback(CallbackContext)
void authenticate(UserIdentity userIdentity)