public static interface IdentityProvider.AuthenticationCallback
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
authenticated(BrokeredIdentityContext context)
This method should be called by provider after the JAXRS callback endpoint has finished authentication
with the remote IDP.
|
javax.ws.rs.core.Response |
cancelled()
Called when user cancelled authentication on the IDP side - for example user didn't approve consent page on the IDP side.
|
javax.ws.rs.core.Response |
error(String message)
Called when error happened on the IDP side.
|
AuthenticationSessionModel |
getAndVerifyAuthenticationSession(String encodedCode)
Common method to return current authenticationSession and verify if it is not expired
|
AuthenticationSessionModel getAndVerifyAuthenticationSession(String encodedCode)
encodedCode
- javax.ws.rs.core.Response authenticated(BrokeredIdentityContext context)
context
- javax.ws.rs.core.Response cancelled()
KeycloakContext
when this method is calledjavax.ws.rs.core.Response error(String message)
KeycloakContext
when this method is calledCopyright © 2021 JBoss by Red Hat. All rights reserved.