| 
    keycloak
    
   | 
 


クラス | |
| class | Endpoint | 
公開メンバ関数 | |
| AbstractOAuth2IdentityProvider (KeycloakSession session, C config) | |
| Object | callback (RealmModel realm, AuthenticationCallback callback, EventBuilder event) | 
| Response | performLogin (AuthenticationRequest request) | 
| Response | retrieveToken (KeycloakSession session, FederatedIdentityModel identity) | 
| C | getConfig () | 
| Response | exchangeFromToken (UriInfo uriInfo, EventBuilder event, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject, MultivaluedMap< String, String > params) | 
| BrokeredIdentityContext | getFederatedIdentity (String response) | 
| String | getJsonProperty (JsonNode jsonNode, String name) | 
| JsonNode | asJsonNode (String json) throws IOException | 
| void | authenticationFinished (AuthenticationSessionModel authSession, BrokeredIdentityContext context) | 
| boolean | isIssuer (String issuer, MultivaluedMap< String, String > params) | 
| final BrokeredIdentityContext | exchangeExternal (EventBuilder event, MultivaluedMap< String, String > params) | 
| void | exchangeExternalComplete (UserSessionModel userSession, BrokeredIdentityContext context, MultivaluedMap< String, String > params) | 
| Response | export (UriInfo uriInfo, RealmModel realm, String format) | 
| void | close () | 
| Response | keycloakInitiatedBrowserLogout (KeycloakSession session, UserSessionModel userSession, UriInfo uriInfo, RealmModel realm) | 
| void | backchannelLogout (KeycloakSession session, UserSessionModel userSession, UriInfo uriInfo, RealmModel realm) | 
| Response | exchangeNotSupported () | 
| Response | exchangeNotLinked (UriInfo uriInfo, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject) | 
| Response | exchangeNotLinkedNoStore (UriInfo uriInfo, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject) | 
| Response | exchangeTokenExpired (UriInfo uriInfo, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject) | 
| Response | exchangeUnsupportedRequiredType () | 
| void | preprocessFederatedIdentity (KeycloakSession session, RealmModel realm, BrokeredIdentityContext context) | 
| void | importNewUser (KeycloakSession session, RealmModel realm, UserModel user, BrokeredIdentityContext context) | 
| void | updateBrokeredUser (KeycloakSession session, RealmModel realm, UserModel user, BrokeredIdentityContext context) | 
| IdentityProviderDataMarshaller | getMarshaller () | 
公開変数類 | |
| String | EXTERNAL_IDENTITY_PROVIDER | 
| String | FEDERATED_ACCESS_TOKEN | 
静的公開変数類 | |
| static final String | OAUTH2_GRANT_TYPE_REFRESH_TOKEN = "refresh_token" | 
| static final String | OAUTH2_GRANT_TYPE_AUTHORIZATION_CODE = "authorization_code" | 
| static final String | FEDERATED_REFRESH_TOKEN = "FEDERATED_REFRESH_TOKEN" | 
| static final String | FEDERATED_TOKEN_EXPIRATION = "FEDERATED_TOKEN_EXPIRATION" | 
| static final String | ACCESS_DENIED = "access_denied" | 
| static final String | OAUTH2_PARAMETER_ACCESS_TOKEN = "access_token" | 
| static final String | OAUTH2_PARAMETER_SCOPE = "scope" | 
| static final String | OAUTH2_PARAMETER_STATE = "state" | 
| static final String | OAUTH2_PARAMETER_RESPONSE_TYPE = "response_type" | 
| static final String | OAUTH2_PARAMETER_REDIRECT_URI = "redirect_uri" | 
| static final String | OAUTH2_PARAMETER_CODE = "code" | 
| static final String | OAUTH2_PARAMETER_CLIENT_ID = "client_id" | 
| static final String | OAUTH2_PARAMETER_CLIENT_SECRET = "client_secret" | 
| static final String | OAUTH2_PARAMETER_GRANT_TYPE = "grant_type" | 
| static final String | ACCOUNT_LINK_URL = "account-link-url" | 
限定公開メンバ関数 | |
| String | extractTokenFromResponse (String response, String tokenName) | 
| Response | hasExternalExchangeToken (EventBuilder event, UserSessionModel tokenUserSession, MultivaluedMap< String, String > params) | 
| Response | exchangeStoredToken (UriInfo uriInfo, EventBuilder event, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject) | 
| Response | exchangeSessionToken (UriInfo uriInfo, EventBuilder event, ClientModel authorizedClient, UserSessionModel tokenUserSession, UserModel tokenSubject) | 
| String | getAccessTokenResponseParameter () | 
| BrokeredIdentityContext | doGetFederatedIdentity (String accessToken) | 
| UriBuilder | createAuthorizationUrl (AuthenticationRequest request) | 
| abstract String | getDefaultScopes () | 
| String | getProfileEndpointForValidation (EventBuilder event) | 
| BrokeredIdentityContext | extractIdentityFromProfile (EventBuilder event, JsonNode node) | 
| BrokeredIdentityContext | validateExternalTokenThroughUserInfo (EventBuilder event, String subjectToken, String subjectTokenType) | 
| SimpleHttp | buildUserInfoRequest (String subjectToken, String userInfoUrl) | 
| boolean | supportsExternalExchange () | 
| BrokeredIdentityContext | exchangeExternalImpl (EventBuilder event, MultivaluedMap< String, String > params) | 
| BrokeredIdentityContext | exchangeExternalUserInfoValidationOnly (EventBuilder event, MultivaluedMap< String, String > params) | 
| Response | exchangeErrorResponse (UriInfo uriInfo, ClientModel authorizedClient, UserSessionModel tokenUserSession, String errorCode, String reason) | 
| String | getLinkingUrl (UriInfo uriInfo, ClientModel authorizedClient, UserSessionModel tokenUserSession) | 
限定公開変数類 | |
| final KeycloakSession | session | 
静的限定公開変数類 | |
| static final Logger | logger = Logger.getLogger(AbstractOAuth2IdentityProvider.class) | 
| static ObjectMapper | mapper = new ObjectMapper() | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inlineinherited | 
      
  | 
  inlineprotected | 
      
  | 
  inline | 
      
  | 
  inlineinherited | 
      
  | 
  inlineprotected | 
      
  | 
  inlineprotected | 
      
  | 
  inlineprotectedinherited | 
      
  | 
  inline | 
org.keycloak.broker.provider.ExchangeExternalTokenを実装しています。
      
  | 
  inline | 
      
  | 
  inlineprotected | 
      
  | 
  inlineprotected | 
      
  | 
  inline | 
org.keycloak.broker.provider.ExchangeTokenToIdentityProviderTokenを実装しています。
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineprotected | 
      
  | 
  inlineprotected | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineprotected | 
      
  | 
  inlineprotected | 
      
  | 
  inlineprotected | 
      
  | 
  inline | 
      
  | 
  abstractprotected | 
      
  | 
  inline | 
      
  | 
  inline | 
Get JSON property as text. JSON numbers and booleans are converted to text. Empty string is converted to null.
| jsonNode | to get property from | 
| name | of property to get | 
      
  | 
  inlineprotectedinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineprotected | 
      
  | 
  inlineprotected | 
check to see if we have a token exchange in session in other words check to see if this session was created by an external exchange
| tokenUserSession | |
| params | 
      
  | 
  inlineinherited | 
      
  | 
  inline | 
org.keycloak.broker.provider.ExchangeExternalTokenを実装しています。
      
  | 
  inlineinherited | 
      
  | 
  inline | 
      
  | 
  inlineinherited | 
      
  | 
  inline | 
      
  | 
  inlineprotected | 
      
  | 
  inlineinherited | 
      
  | 
  inlineprotected | 
      
  | 
  static | 
      
  | 
  staticinherited | 
      
  | 
  inherited | 
      
  | 
  inherited | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  staticprotected | 
      
  | 
  staticprotected | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  protectedinherited | 
 1.8.13