| Package | Description | 
|---|---|
| org.keycloak.component | |
| org.keycloak.credential | |
| org.keycloak.models | |
| org.keycloak.provider | |
| org.keycloak.storage | |
| org.keycloak.storage.adapter | 
| Modifier and Type | Method and Description | 
|---|---|
| default ProviderType | ComponentFactory. create(KeycloakSession session) | 
| CreatedType | ComponentFactory. create(KeycloakSession session,
      ComponentModel model) | 
| default void | ComponentFactory. onCreate(KeycloakSession session,
        RealmModel realm,
        ComponentModel model)Called after a component is created | 
| default void | ComponentFactory. onUpdate(KeycloakSession session,
        RealmModel realm,
        ComponentModel oldModel,
        ComponentModel newModel)Called after the component is updated. | 
| default void | ComponentFactory. preRemove(KeycloakSession session,
         RealmModel realm,
         ComponentModel model)Called before the component is removed. | 
| default void | ComponentFactory. validateConfiguration(KeycloakSession session,
                     RealmModel realm,
                     ComponentModel model)Called before a component is created or updated. | 
| Modifier and Type | Method and Description | 
|---|---|
| CredentialTypeMetadataContext | CredentialTypeMetadataContext.CredentialTypeMetadataContextBuilder. build(KeycloakSession session) | 
| CredentialTypeMetadata | CredentialTypeMetadata.CredentialTypeMetadataBuilder. build(KeycloakSession session)This will validate metadata and return them | 
| default T | CredentialProvider. getDefaultCredential(KeycloakSession session,
                    RealmModel realm,
                    UserModel user) | 
| Modifier and Type | Method and Description | 
|---|---|
| KeycloakSession | KeycloakSessionFactory. create() | 
| KeycloakSession | UserSessionProvider. getKeycloakSession()Returns currently used Keycloak session. | 
| KeycloakSession | UserModel.UserRemovedEvent. getKeycloakSession() | 
| KeycloakSession | RoleContainerModel.RoleRemovedEvent. getKeycloakSession() | 
| KeycloakSession | RealmModel.RealmCreationEvent. getKeycloakSession() | 
| KeycloakSession | RealmModel.RealmPostCreateEvent. getKeycloakSession() | 
| KeycloakSession | RealmModel.RealmRemovedEvent. getKeycloakSession() | 
| KeycloakSession | RealmModel.IdentityProviderUpdatedEvent. getKeycloakSession() | 
| KeycloakSession | RealmModel.IdentityProviderRemovedEvent. getKeycloakSession() | 
| KeycloakSession | GroupModel.GroupRemovedEvent. getKeycloakSession() | 
| KeycloakSession | ClientScopeModel.ClientScopeRemovedEvent. getKeycloakSession() | 
| KeycloakSession | ClientModel.ClientUpdatedEvent. getKeycloakSession() | 
| KeycloakSession | ClientModel.ClientRemovedEvent. getKeycloakSession() | 
| Modifier and Type | Method and Description | 
|---|---|
| CredentialValidationOutput | UserCredentialManager. authenticate(KeycloakSession session,
            RealmModel realm,
            CredentialInput input)Given a CredentialInput, authenticate the user. | 
| PasswordPolicy | PasswordPolicy.Builder. build(KeycloakSession session) | 
| static PasswordPolicy | PasswordPolicy. parse(KeycloakSession session,
     String policyString) | 
| void | KeycloakSessionTask. run(KeycloakSession session) | 
| Constructor and Description | 
|---|
| KeycloakUriInfo(KeycloakSession session,
               UrlType type,
               javax.ws.rs.core.UriInfo delegate) | 
| UserManager(KeycloakSession session) | 
| Modifier and Type | Method and Description | 
|---|---|
| T | ProviderFactory. create(KeycloakSession session) | 
| Modifier and Type | Method and Description | 
|---|---|
| T | UserStorageProviderFactory. create(KeycloakSession session,
      ComponentModel model)called per Keycloak transaction. | 
| default void | UserStorageProviderFactory. onCreate(KeycloakSession session,
        RealmModel realm,
        ComponentModel model)Called when UserStorageProviderModel is created. | 
| default void | UserStorageProviderFactory. validateConfiguration(KeycloakSession session,
                     RealmModel realm,
                     ComponentModel config) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected KeycloakSession | AbstractUserAdapterFederatedStorage. session | 
| protected KeycloakSession | AbstractUserAdapter. session | 
| Constructor and Description | 
|---|
| AbstractUserAdapter(KeycloakSession session,
                   RealmModel realm,
                   ComponentModel storageProviderModel) | 
| AbstractUserAdapterFederatedStorage(KeycloakSession session,
                                   RealmModel realm,
                                   ComponentModel storageProviderModel) | 
| Streams(KeycloakSession session,
       RealmModel realm,
       ComponentModel storageProviderModel) | 
| Streams(KeycloakSession session,
       RealmModel realm,
       ComponentModel storageProviderModel) | 
Copyright © 2022 JBoss by Red Hat. All rights reserved.