Uses of Class
org.keycloak.broker.provider.BrokeredIdentityContext
-
-
Uses of BrokeredIdentityContext in org.keycloak.authentication.authenticators.broker
-
Uses of BrokeredIdentityContext in org.keycloak.authentication.authenticators.broker.util
Methods in org.keycloak.authentication.authenticators.broker.util that return BrokeredIdentityContext Modifier and Type Method Description BrokeredIdentityContext
SerializedBrokeredIdentityContext. deserialize(KeycloakSession session, AuthenticationSessionModel authSession)
Methods in org.keycloak.authentication.authenticators.broker.util with parameters of type BrokeredIdentityContext Modifier and Type Method Description static SerializedBrokeredIdentityContext
SerializedBrokeredIdentityContext. serialize(BrokeredIdentityContext context)
-
Uses of BrokeredIdentityContext in org.keycloak.broker.oidc
Methods in org.keycloak.broker.oidc that return BrokeredIdentityContext Modifier and Type Method Description protected BrokeredIdentityContext
AbstractOAuth2IdentityProvider. doGetFederatedIdentity(String accessToken)
BrokeredIdentityContext
AbstractOAuth2IdentityProvider. exchangeExternal(EventBuilder event, javax.ws.rs.core.MultivaluedMap<String,String> params)
protected BrokeredIdentityContext
AbstractOAuth2IdentityProvider. exchangeExternalImpl(EventBuilder event, javax.ws.rs.core.MultivaluedMap<String,String> params)
protected BrokeredIdentityContext
KeycloakOIDCIdentityProvider. exchangeExternalImpl(EventBuilder event, javax.ws.rs.core.MultivaluedMap<String,String> params)
protected BrokeredIdentityContext
OIDCIdentityProvider. exchangeExternalImpl(EventBuilder event, javax.ws.rs.core.MultivaluedMap<String,String> params)
protected BrokeredIdentityContext
AbstractOAuth2IdentityProvider. exchangeExternalUserInfoValidationOnly(EventBuilder event, javax.ws.rs.core.MultivaluedMap<String,String> params)
protected BrokeredIdentityContext
OIDCIdentityProvider. extractIdentity(AccessTokenResponse tokenResponse, String accessToken, JsonWebToken idToken)
protected BrokeredIdentityContext
AbstractOAuth2IdentityProvider. extractIdentityFromProfile(EventBuilder event, com.fasterxml.jackson.databind.JsonNode node)
protected BrokeredIdentityContext
OIDCIdentityProvider. extractIdentityFromProfile(EventBuilder event, com.fasterxml.jackson.databind.JsonNode userInfo)
BrokeredIdentityContext
AbstractOAuth2IdentityProvider. getFederatedIdentity(String response)
BrokeredIdentityContext
OIDCIdentityProvider. getFederatedIdentity(String response)
protected BrokeredIdentityContext
AbstractOAuth2IdentityProvider. validateExternalTokenThroughUserInfo(EventBuilder event, String subjectToken, String subjectTokenType)
protected BrokeredIdentityContext
OIDCIdentityProvider. validateJwt(EventBuilder event, String subjectToken, String subjectTokenType)
Methods in org.keycloak.broker.oidc with parameters of type BrokeredIdentityContext Modifier and Type Method Description void
AbstractOAuth2IdentityProvider. authenticationFinished(AuthenticationSessionModel authSession, BrokeredIdentityContext context)
void
OIDCIdentityProvider. authenticationFinished(AuthenticationSessionModel authSession, BrokeredIdentityContext context)
void
AbstractOAuth2IdentityProvider. exchangeExternalComplete(UserSessionModel userSession, BrokeredIdentityContext context, javax.ws.rs.core.MultivaluedMap<String,String> params)
void
OIDCIdentityProvider. preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, BrokeredIdentityContext context)
protected void
KeycloakOIDCIdentityProvider. processAccessTokenResponse(BrokeredIdentityContext context, AccessTokenResponse response)
protected void
OIDCIdentityProvider. processAccessTokenResponse(BrokeredIdentityContext context, AccessTokenResponse response)
-
Uses of BrokeredIdentityContext in org.keycloak.broker.oidc.mappers
Methods in org.keycloak.broker.oidc.mappers with parameters of type BrokeredIdentityContext Modifier and Type Method Description protected abstract boolean
AbstractClaimToGroupMapper. applies(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
This method must be implemented by subclasses and they must returntrue
if their mapping can be applied (i.e.protected abstract boolean
AbstractClaimToRoleMapper. applies(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
This method must be implemented by subclasses and they must returntrue
if their mapping can be applied (i.e.protected boolean
AdvancedClaimToGroupMapper. applies(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
protected boolean
AdvancedClaimToRoleMapper. applies(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
protected boolean
ClaimToRoleMapper. applies(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
protected boolean
ExternalKeycloakRoleToRoleMapper. applies(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
static Object
AbstractClaimMapper. getClaimValue(BrokeredIdentityContext context, String claim)
static Object
AbstractClaimMapper. getClaimValue(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
protected static Object
AbstractJsonUserAttributeMapper. getJsonValue(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
protected boolean
AbstractClaimMapper. hasClaimValue(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
AbstractClaimToGroupMapper. importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
AbstractClaimToRoleMapper. importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
AbstractJsonUserAttributeMapper. preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
UserAttributeMapper. preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
UsernameTemplateMapper. preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
static void
AbstractJsonUserAttributeMapper. storeUserProfileForMapper(BrokeredIdentityContext user, com.fasterxml.jackson.databind.JsonNode profile, String provider)
Store used profile JsonNode into user context for later use by this mapper.void
AbstractClaimToGroupMapper. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
AbstractClaimToRoleMapper. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
AbstractJsonUserAttributeMapper. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
UserAttributeMapper. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
UsernameTemplateMapper. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
AbstractClaimToRoleMapper. updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
AbstractJsonUserAttributeMapper. updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
ExternalKeycloakRoleToRoleMapper. updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
UsernameTemplateMapper. updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
-
Uses of BrokeredIdentityContext in org.keycloak.broker.provider
Methods in org.keycloak.broker.provider that return BrokeredIdentityContext Modifier and Type Method Description BrokeredIdentityContext
ExchangeExternalToken. exchangeExternal(EventBuilder event, javax.ws.rs.core.MultivaluedMap<String,String> params)
Methods in org.keycloak.broker.provider with parameters of type BrokeredIdentityContext Modifier and Type Method Description javax.ws.rs.core.Response
IdentityProvider.AuthenticationCallback. authenticated(BrokeredIdentityContext context)
This method should be called by provider after the JAXRS callback endpoint has finished authentication with the remote IDP.void
AbstractIdentityProvider. authenticationFinished(AuthenticationSessionModel authSession, BrokeredIdentityContext context)
void
IdentityProvider. authenticationFinished(AuthenticationSessionModel authSession, BrokeredIdentityContext context)
static void
IdentityProviderMapperSyncModeDelegate. delegateUpdateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context, IdentityProviderMapper mapper)
void
ExchangeExternalToken. exchangeExternalComplete(UserSessionModel userSession, BrokeredIdentityContext context, javax.ws.rs.core.MultivaluedMap<String,String> params)
void
AbstractIdentityProvider. importNewUser(KeycloakSession session, RealmModel realm, UserModel user, BrokeredIdentityContext context)
void
AbstractIdentityProviderMapper. importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
HardcodedRoleMapper. importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
HardcodedUserSessionAttributeMapper. importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
IdentityProvider. importNewUser(KeycloakSession session, RealmModel realm, UserModel user, BrokeredIdentityContext context)
void
IdentityProviderMapper. importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
Called after UserModel is created for first time for this user.void
AbstractIdentityProvider. preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, BrokeredIdentityContext context)
void
AbstractIdentityProviderMapper. preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
HardcodedAttributeMapper. preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
HardcodedUserSessionAttributeMapper. preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
IdentityProvider. preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, BrokeredIdentityContext context)
void
IdentityProviderMapper. preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
Called to determine what keycloak username and email to use to process the login request from the external IDP.void
AbstractIdentityProvider. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, BrokeredIdentityContext context)
void
AbstractIdentityProviderMapper. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
HardcodedAttributeMapper. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
HardcodedRoleMapper. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
HardcodedUserSessionAttributeMapper. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
IdentityProvider. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, BrokeredIdentityContext context)
void
IdentityProviderMapper. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
Called when this user has logged in before and has already been imported.void
AbstractIdentityProviderMapper. updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
HardcodedRoleMapper. updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
IdentityProviderMapper. updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
Called when this user has logged in before and has already been imported. -
Uses of BrokeredIdentityContext in org.keycloak.broker.saml
Methods in org.keycloak.broker.saml with parameters of type BrokeredIdentityContext Modifier and Type Method Description void
SAMLIdentityProvider. authenticationFinished(AuthenticationSessionModel authSession, BrokeredIdentityContext context)
-
Uses of BrokeredIdentityContext in org.keycloak.broker.saml.mappers
Methods in org.keycloak.broker.saml.mappers with parameters of type BrokeredIdentityContext Modifier and Type Method Description protected abstract boolean
AbstractAttributeToGroupMapper. applies(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
This method must be implemented by subclasses and they must returntrue
if their mapping can be applied (i.e.protected abstract boolean
AbstractAttributeToRoleMapper. applies(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
This method must be implemented by subclasses and they must returntrue
if their mapping can be applied (i.e.protected boolean
AdvancedAttributeToGroupMapper. applies(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
protected boolean
AdvancedAttributeToRoleMapper. applies(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
protected boolean
AttributeToRoleMapper. applies(IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
AbstractAttributeToGroupMapper. importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
AbstractAttributeToRoleMapper. importNewUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
UserAttributeMapper. preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
UsernameTemplateMapper. preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
XPathAttributeMapper. preprocessFederatedIdentity(KeycloakSession session, RealmModel realm, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
abstract void
UsernameTemplateMapper.Target. set(BrokeredIdentityContext context, String value)
void
AbstractAttributeToGroupMapper. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
AbstractAttributeToRoleMapper. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
UserAttributeMapper. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
UsernameTemplateMapper. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
XPathAttributeMapper. updateBrokeredUser(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
void
UsernameTemplateMapper. updateBrokeredUserLegacy(KeycloakSession session, RealmModel realm, UserModel user, IdentityProviderMapperModel mapperModel, BrokeredIdentityContext context)
-
Uses of BrokeredIdentityContext in org.keycloak.protocol.oidc
Methods in org.keycloak.protocol.oidc with parameters of type BrokeredIdentityContext Modifier and Type Method Description protected UserModel
DefaultTokenExchangeProvider. importUserFromExternalIdentity(BrokeredIdentityContext context)
-
Uses of BrokeredIdentityContext in org.keycloak.services.resources
Methods in org.keycloak.services.resources with parameters of type BrokeredIdentityContext Modifier and Type Method Description javax.ws.rs.core.Response
IdentityBrokerService. authenticated(BrokeredIdentityContext context)
-
Uses of BrokeredIdentityContext in org.keycloak.social.bitbucket
Methods in org.keycloak.social.bitbucket that return BrokeredIdentityContext Modifier and Type Method Description protected BrokeredIdentityContext
BitbucketIdentityProvider. doGetFederatedIdentity(String accessToken)
protected BrokeredIdentityContext
BitbucketIdentityProvider. validateExternalTokenThroughUserInfo(EventBuilder event, String subjectToken, String subjectTokenType)
-
Uses of BrokeredIdentityContext in org.keycloak.social.facebook
Methods in org.keycloak.social.facebook that return BrokeredIdentityContext Modifier and Type Method Description protected BrokeredIdentityContext
FacebookIdentityProvider. doGetFederatedIdentity(String accessToken)
protected BrokeredIdentityContext
FacebookIdentityProvider. extractIdentityFromProfile(EventBuilder event, com.fasterxml.jackson.databind.JsonNode profile)
-
Uses of BrokeredIdentityContext in org.keycloak.social.github
Methods in org.keycloak.social.github that return BrokeredIdentityContext Modifier and Type Method Description protected BrokeredIdentityContext
GitHubIdentityProvider. doGetFederatedIdentity(String accessToken)
protected BrokeredIdentityContext
GitHubIdentityProvider. extractIdentityFromProfile(EventBuilder event, com.fasterxml.jackson.databind.JsonNode profile)
-
Uses of BrokeredIdentityContext in org.keycloak.social.gitlab
Methods in org.keycloak.social.gitlab that return BrokeredIdentityContext Modifier and Type Method Description protected BrokeredIdentityContext
GitLabIdentityProvider. exchangeExternalImpl(EventBuilder event, javax.ws.rs.core.MultivaluedMap<String,String> params)
protected BrokeredIdentityContext
GitLabIdentityProvider. extractIdentity(AccessTokenResponse tokenResponse, String accessToken, JsonWebToken idToken)
protected BrokeredIdentityContext
GitLabIdentityProvider. extractIdentityFromProfile(EventBuilder event, com.fasterxml.jackson.databind.JsonNode profile)
-
Uses of BrokeredIdentityContext in org.keycloak.social.google
Methods in org.keycloak.social.google that return BrokeredIdentityContext Modifier and Type Method Description protected BrokeredIdentityContext
GoogleIdentityProvider. exchangeExternalImpl(EventBuilder event, javax.ws.rs.core.MultivaluedMap<String,String> params)
-
Uses of BrokeredIdentityContext in org.keycloak.social.instagram
Methods in org.keycloak.social.instagram that return BrokeredIdentityContext Modifier and Type Method Description protected BrokeredIdentityContext
InstagramIdentityProvider. doGetFederatedIdentity(String accessToken)
-
Uses of BrokeredIdentityContext in org.keycloak.social.linkedin
Methods in org.keycloak.social.linkedin that return BrokeredIdentityContext Modifier and Type Method Description protected BrokeredIdentityContext
LinkedInIdentityProvider. doGetFederatedIdentity(String accessToken)
protected BrokeredIdentityContext
LinkedInIdentityProvider. extractIdentityFromProfile(EventBuilder event, com.fasterxml.jackson.databind.JsonNode profile)
-
Uses of BrokeredIdentityContext in org.keycloak.social.microsoft
Methods in org.keycloak.social.microsoft that return BrokeredIdentityContext Modifier and Type Method Description protected BrokeredIdentityContext
MicrosoftIdentityProvider. doGetFederatedIdentity(String accessToken)
protected BrokeredIdentityContext
MicrosoftIdentityProvider. extractIdentityFromProfile(EventBuilder event, com.fasterxml.jackson.databind.JsonNode profile)
-
Uses of BrokeredIdentityContext in org.keycloak.social.openshift
Methods in org.keycloak.social.openshift that return BrokeredIdentityContext Modifier and Type Method Description protected BrokeredIdentityContext
OpenshiftV3IdentityProvider. doGetFederatedIdentity(String accessToken)
protected BrokeredIdentityContext
OpenshiftV4IdentityProvider. doGetFederatedIdentity(String accessToken)
protected BrokeredIdentityContext
OpenshiftV3IdentityProvider. extractIdentityFromProfile(EventBuilder event, com.fasterxml.jackson.databind.JsonNode profile)
protected BrokeredIdentityContext
OpenshiftV4IdentityProvider. extractIdentityFromProfile(EventBuilder event, com.fasterxml.jackson.databind.JsonNode profile)
-
Uses of BrokeredIdentityContext in org.keycloak.social.paypal
Methods in org.keycloak.social.paypal that return BrokeredIdentityContext Modifier and Type Method Description protected BrokeredIdentityContext
PayPalIdentityProvider. doGetFederatedIdentity(String accessToken)
protected BrokeredIdentityContext
PayPalIdentityProvider. extractIdentityFromProfile(EventBuilder event, com.fasterxml.jackson.databind.JsonNode profile)
-
Uses of BrokeredIdentityContext in org.keycloak.social.stackoverflow
Methods in org.keycloak.social.stackoverflow that return BrokeredIdentityContext Modifier and Type Method Description protected BrokeredIdentityContext
StackoverflowIdentityProvider. doGetFederatedIdentity(String accessToken)
protected BrokeredIdentityContext
StackoverflowIdentityProvider. extractIdentityFromProfile(EventBuilder event, com.fasterxml.jackson.databind.JsonNode node)
-
Uses of BrokeredIdentityContext in org.keycloak.social.twitter
Methods in org.keycloak.social.twitter with parameters of type BrokeredIdentityContext Modifier and Type Method Description void
TwitterIdentityProvider. authenticationFinished(AuthenticationSessionModel authSession, BrokeredIdentityContext context)
-