public class KeycloakOIDCIdentityProvider extends OIDCIdentityProvider
| Modifier and Type | Class and Description |
|---|---|
protected class |
KeycloakOIDCIdentityProvider.KeycloakEndpoint |
OIDCIdentityProvider.OIDCEndpointAbstractOAuth2IdentityProvider.EndpointIdentityProvider.AuthenticationCallback| Modifier and Type | Field and Description |
|---|---|
static String |
VALIDATED_ACCESS_TOKEN |
FEDERATED_ACCESS_TOKEN_RESPONSE, FEDERATED_ID_TOKEN, logger, OAUTH2_PARAMETER_PROMPT, SCOPE_OPENID, USER_INFO, VALIDATED_ID_TOKENACCESS_DENIED, FEDERATED_ACCESS_TOKEN, FEDERATED_REFRESH_TOKEN, FEDERATED_TOKEN_EXPIRATION, mapper, OAUTH2_GRANT_TYPE_AUTHORIZATION_CODE, OAUTH2_GRANT_TYPE_REFRESH_TOKEN, OAUTH2_PARAMETER_ACCESS_TOKEN, OAUTH2_PARAMETER_CLIENT_ID, OAUTH2_PARAMETER_CLIENT_SECRET, OAUTH2_PARAMETER_CODE, OAUTH2_PARAMETER_GRANT_TYPE, OAUTH2_PARAMETER_REDIRECT_URI, OAUTH2_PARAMETER_RESPONSE_TYPE, OAUTH2_PARAMETER_SCOPE, OAUTH2_PARAMETER_STATE| Constructor and Description |
|---|
KeycloakOIDCIdentityProvider(OIDCIdentityProviderConfig config) |
| Modifier and Type | Method and Description |
|---|---|
Object |
callback(RealmModel realm,
IdentityProvider.AuthenticationCallback callback,
EventBuilder event)
JAXRS callback endpoint for when the remote IDP wants to callback to keycloak.
|
protected void |
processAccessTokenResponse(BrokeredIdentityContext context,
PublicKey idpKey,
AccessTokenResponse response) |
attachUserSession, backchannelLogout, backchannelLogout, createAuthorizationUrl, getDefaultScopes, getExternalIdpKey, getFederatedIdentity, keycloakInitiatedBrowserLogout, refreshToken, validateToken, verifyasJsonNode, doGetFederatedIdentity, extractTokenFromResponse, getConfig, getJsonProperty, performLogin, retrieveTokenclose, export, getMarshaller, importNewUser, preprocessFederatedIdentity, updateBrokeredUserpublic static final String VALIDATED_ACCESS_TOKEN
public KeycloakOIDCIdentityProvider(OIDCIdentityProviderConfig config)
public Object callback(RealmModel realm, IdentityProvider.AuthenticationCallback callback, EventBuilder event)
IdentityProvidercallback in interface IdentityProvider<OIDCIdentityProviderConfig>callback in class OIDCIdentityProviderprotected void processAccessTokenResponse(BrokeredIdentityContext context, PublicKey idpKey, AccessTokenResponse response)
processAccessTokenResponse in class OIDCIdentityProviderCopyright © 2016 JBoss by Red Hat. All rights reserved.