## Uses of Interface
org.keycloak.models.KeycloakSession

- Packages that use KeycloakSession
  Package | Description
  --- | ---
  org.aerogear.ups.security |
  org.keycloak.account.freemarker |
  org.keycloak.account.freemarker.model |
  org.keycloak.connections.infinispan |
  org.keycloak.connections.jpa |
  org.keycloak.connections.jpa.updater.liquibase |
  org.keycloak.connections.mongo |
  org.keycloak.connections.mongo.updater |
  org.keycloak.email.freemarker |
  org.keycloak.events.email |
  org.keycloak.events.jpa |
  org.keycloak.events.log |
  org.keycloak.events.mongo |
  org.keycloak.examples.federation.properties |
  org.keycloak.examples.providers.events |
  org.keycloak.exportimport.dir |
  org.keycloak.exportimport.singlefile |
  org.keycloak.exportimport.util |
  org.keycloak.exportimport.zip |
  org.keycloak.federation.ldap |
  org.keycloak.freemarker |
  org.keycloak.login.freemarker |
  org.keycloak.models |
  org.keycloak.models.cache |
  org.keycloak.models.cache.infinispan |
  org.keycloak.models.jpa |
  org.keycloak.models.mongo.keycloak.adapters |
  org.keycloak.models.sessions.infinispan |
  org.keycloak.models.sessions.jpa |
  org.keycloak.models.sessions.mem |
  org.keycloak.models.sessions.mongo |
  org.keycloak.models.utils |
  org.keycloak.picketlink.ldap |
  org.keycloak.protocol |
  org.keycloak.protocol.oidc |
  org.keycloak.protocol.saml |
  org.keycloak.provider |
  org.keycloak.services |
  org.keycloak.services.managers |
  org.keycloak.services.resources |
  org.keycloak.services.resources.admin |
  org.keycloak.services.resources.flows |
  org.keycloak.services.scheduled |
  org.keycloak.test.tools.jobs |
  org.keycloak.testutils |
  org.keycloak.theme |
  org.keycloak.timer.basic |

- - ### Uses of KeycloakSession in org.aerogear.ups.security

    Methods in org.aerogear.ups.security with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `ThemeProvider` | AerogearThemeProviderFactory.`create(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.account.freemarker

    Methods in org.keycloak.account.freemarker with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `AccountProvider` | FreeMarkerAccountProviderFactory.`create(KeycloakSession session)`

    Constructors in org.keycloak.account.freemarker with parameters of type KeycloakSession
    Constructor and Description
    `FreeMarkerAccountProvider(KeycloakSession session, FreeMarkerUtil freeMarker)`

  - ### Uses of KeycloakSession in org.keycloak.account.freemarker.model

    Constructors in org.keycloak.account.freemarker.model with parameters of type KeycloakSession
    Constructor and Description
    `AccountSocialBean(KeycloakSession session, RealmModel realm, UserModel user, URI baseUri, String stateChecker)`

  - ### Uses of KeycloakSession in org.keycloak.connections.infinispan

    Methods in org.keycloak.connections.infinispan with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `InfinispanConnectionProvider` | DefaultInfinispanConnectionProviderFactory.`create(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.connections.jpa

    Methods in org.keycloak.connections.jpa with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `JpaConnectionProvider` | DefaultJpaConnectionProviderFactory.`create(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.connections.jpa.updater.liquibase

    Methods in org.keycloak.connections.jpa.updater.liquibase with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `JpaUpdaterProvider` | LiquibaseJpaUpdaterProviderFactory.`create(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.connections.mongo

    Methods in org.keycloak.connections.mongo with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `MongoConnectionProvider` | DefaultMongoConnectionFactoryProvider.`create(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.connections.mongo.updater

    Methods in org.keycloak.connections.mongo.updater with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `MongoUpdaterProvider` | DefaultMongoUpdaterProviderFactory.`create(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.email.freemarker

    Methods in org.keycloak.email.freemarker with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `EmailProvider` | FreeMarkerEmailProviderFactory.`create(KeycloakSession session)`

    Constructors in org.keycloak.email.freemarker with parameters of type KeycloakSession
    Constructor and Description
    `FreeMarkerEmailProvider(KeycloakSession session, FreeMarkerUtil freeMarker)`

  - ### Uses of KeycloakSession in org.keycloak.events.email

    Methods in org.keycloak.events.email with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `EventListenerProvider` | EmailEventListenerProviderFactory.`create(KeycloakSession session)`

    Constructors in org.keycloak.events.email with parameters of type KeycloakSession
    Constructor and Description
    `EmailEventListenerProvider(KeycloakSession session, EmailProvider emailProvider, Set<EventType> includedEvents)`

  - ### Uses of KeycloakSession in org.keycloak.events.jpa

    Methods in org.keycloak.events.jpa with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `EventStoreProvider` | JpaEventStoreProviderFactory.`create(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.events.log

    Methods in org.keycloak.events.log with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `EventListenerProvider` | JBossLoggingEventListenerProviderFactory.`create(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.events.mongo

    Methods in org.keycloak.events.mongo with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `EventStoreProvider` | MongoEventStoreProviderFactory.`create(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.examples.federation.properties

    Fields in org.keycloak.examples.federation.properties declared as KeycloakSession
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSession` | BasePropertiesFederationProvider.`session`

    Methods in org.keycloak.examples.federation.properties that return KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `KeycloakSession` | BasePropertiesFederationProvider.`getSession()`

    Methods in org.keycloak.examples.federation.properties with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `UserFederationProvider` | BasePropertiesFederationFactory.`create(KeycloakSession session)`
    `protected BasePropertiesFederationProvider` | FilePropertiesFederationFactory.`createProvider(KeycloakSession session, UserFederationProviderModel model, Properties props)`
    `protected BasePropertiesFederationProvider` | ClasspathPropertiesFederationFactory.`createProvider(KeycloakSession session, UserFederationProviderModel model, Properties props)`
    `protected abstract BasePropertiesFederationProvider` | BasePropertiesFederationFactory.`createProvider(KeycloakSession session, UserFederationProviderModel model, Properties props)`
    `UserFederationProvider` | BasePropertiesFederationFactory.`getInstance(KeycloakSession session, UserFederationProviderModel model)`

    Constructors in org.keycloak.examples.federation.properties with parameters of type KeycloakSession
    Constructor and Description
    `BasePropertiesFederationProvider(KeycloakSession session, UserFederationProviderModel model, Properties properties)`
    `ClasspathPropertiesFederationProvider(KeycloakSession session, UserFederationProviderModel model, Properties properties)`
    `FilePropertiesFederationProvider(KeycloakSession session, Properties properties, UserFederationProviderModel model)`

  - ### Uses of KeycloakSession in org.keycloak.examples.providers.events

    Methods in org.keycloak.examples.providers.events with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `EventStoreProvider` | MemEventStoreProviderFactory.`create(KeycloakSession session)`
    `EventListenerProvider` | SysoutEventListenerProviderFactory.`create(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.exportimport.dir

    Methods in org.keycloak.exportimport.dir with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `ImportProvider` | DirImportProviderFactory.`create(KeycloakSession session)`
    `ExportProvider` | DirExportProviderFactory.`create(KeycloakSession session)`
    `protected void` | DirExportProvider.`writeUsers(String fileName, KeycloakSession session, RealmModel realm, List<UserModel> users)`

  - ### Uses of KeycloakSession in org.keycloak.exportimport.singlefile

    Methods in org.keycloak.exportimport.singlefile with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `ExportProvider` | SingleFileExportProviderFactory.`create(KeycloakSession session)`
    `ImportProvider` | SingleFileImportProviderFactory.`create(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.exportimport.util

    Methods in org.keycloak.exportimport.util with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `static RealmRepresentation` | ExportUtils.`exportRealm(KeycloakSession session, RealmModel realm, boolean includeUsers)`
    `static UserRepresentation` | ExportUtils.`exportUser(KeycloakSession session, RealmModel realm, UserModel user)` Full export of user (including role mappings and credentials)
    `static void` | ExportUtils.`exportUsersToStream(KeycloakSession session, RealmModel realm, List<UserModel> usersToExport, org.codehaus.jackson.map.ObjectMapper mapper, OutputStream os)`
    `static void` | ImportUtils.`importFromStream(KeycloakSession session, org.codehaus.jackson.map.ObjectMapper mapper, InputStream is, Strategy strategy)` Fully import realm (or more realms from particular stream)
    `static RealmModel` | ImportUtils.`importRealm(KeycloakSession session, RealmRepresentation rep, Strategy strategy)` Fully import realm from representation, save it to model and return model of newly created realm
    `static void` | ImportUtils.`importUsersFromStream(KeycloakSession session, String realmName, org.codehaus.jackson.map.ObjectMapper mapper, InputStream is)`
    `void` | ExportImportSessionTask.`run(KeycloakSession session)`
    `protected abstract void` | ExportImportSessionTask.`runExportImportTask(KeycloakSession session)`
    `protected abstract void` | MultipleStepsExportProvider.`writeUsers(String fileName, KeycloakSession session, RealmModel realm, List<UserModel> users)`

  - ### Uses of KeycloakSession in org.keycloak.exportimport.zip

    Methods in org.keycloak.exportimport.zip with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `ExportProvider` | ZipExportProviderFactory.`create(KeycloakSession session)`
    `ImportProvider` | ZipImportProviderFactory.`create(KeycloakSession session)`
    `protected void` | ZipExportProvider.`writeUsers(String fileName, KeycloakSession session, RealmModel realm, List<UserModel> users)`

  - ### Uses of KeycloakSession in org.keycloak.federation.ldap

    Fields in org.keycloak.federation.ldap declared as KeycloakSession
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSession` | LDAPFederationProvider.`session`

    Methods in org.keycloak.federation.ldap that return KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `KeycloakSession` | LDAPFederationProvider.`getSession()`

    Methods in org.keycloak.federation.ldap with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `UserFederationProvider` | LDAPFederationProviderFactory.`create(KeycloakSession session)`
    `LDAPFederationProvider` | LDAPFederationProviderFactory.`getInstance(KeycloakSession session, UserFederationProviderModel model)`
    `protected void` | LDAPFederationProviderFactory.`importPicketlinkUsers(KeycloakSession session, String realmId, UserFederationProviderModel fedModel, List<org.picketlink.idm.model.basic.User> users)`

    Constructors in org.keycloak.federation.ldap with parameters of type KeycloakSession
    Constructor and Description
    `LDAPFederationProvider(KeycloakSession session, UserFederationProviderModel model, org.picketlink.idm.PartitionManager partitionManager)`

  - ### Uses of KeycloakSession in org.keycloak.freemarker

    Methods in org.keycloak.freemarker with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `ThemeProvider` | ExtendingThemeManagerFactory.`create(KeycloakSession session)`

    Constructors in org.keycloak.freemarker with parameters of type KeycloakSession
    Constructor and Description
    `ExtendingThemeManager(KeycloakSession session, ConcurrentHashMap<ExtendingThemeManagerFactory.ThemeKey,Theme> themeCache)`

  - ### Uses of KeycloakSession in org.keycloak.login.freemarker

    Methods in org.keycloak.login.freemarker with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `LoginFormsProvider` | FreeMarkerLoginFormsProviderFactory.`create(KeycloakSession session)`

    Constructors in org.keycloak.login.freemarker with parameters of type KeycloakSession
    Constructor and Description
    `FreeMarkerLoginFormsProvider(KeycloakSession session, FreeMarkerUtil freeMarker)`

  - ### Uses of KeycloakSession in org.keycloak.models

    Fields in org.keycloak.models declared as KeycloakSession
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSession` | UserFederationManager.`session`

    Methods in org.keycloak.models that return KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `KeycloakSession` | KeycloakSessionFactory.`create()`

    Methods in org.keycloak.models with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `UserFederationProvider` | UserFederationProviderFactory.`getInstance(KeycloakSession session, UserFederationProviderModel model)` called per Keycloak transaction.
    `void` | KeycloakSessionTask.`run(KeycloakSession session)`

    Constructors in org.keycloak.models with parameters of type KeycloakSession
    Constructor and Description
    `UserFederationManager(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.models.cache

    Fields in org.keycloak.models.cache declared as KeycloakSession
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSession` | UserAdapter.`keycloakSession`
    `protected KeycloakSession` | DefaultCacheUserProvider.`session`
    `protected KeycloakSession` | NoCacheUserProvider.`session`
    `protected KeycloakSession` | NoCacheRealmProvider.`session`
    `protected KeycloakSession` | DefaultCacheRealmProvider.`session`

    Methods in org.keycloak.models.cache with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `CacheUserProvider` | MemoryCacheUserProviderFactory.`create(KeycloakSession session)`
    `CacheRealmProvider` | MemoryCacheRealmProviderFactory.`create(KeycloakSession session)`
    `CacheUserProvider` | NoCacheUserProviderFactory.`create(KeycloakSession session)`
    `CacheRealmProvider` | NoCacheRealmProviderFactory.`create(KeycloakSession session)`

    Constructors in org.keycloak.models.cache with parameters of type KeycloakSession
    Constructor and Description
    `DefaultCacheRealmProvider(RealmCache cache, KeycloakSession session)`
    `DefaultCacheUserProvider(UserCache cache, KeycloakSession session)`
    `NoCacheRealmProvider(KeycloakSession session)`
    `NoCacheUserProvider(KeycloakSession session)`
    `UserAdapter(CachedUser cached, CacheUserProvider userProvider, KeycloakSession keycloakSession, RealmModel realm)`

  - ### Uses of KeycloakSession in org.keycloak.models.cache.infinispan

    Methods in org.keycloak.models.cache.infinispan with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `CacheUserProvider` | InfinispanCacheUserProviderFactory.`create(KeycloakSession session)`
    `CacheRealmProvider` | InfinispanCacheRealmProviderFactory.`create(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.models.jpa

    Fields in org.keycloak.models.jpa declared as KeycloakSession
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSession` | RealmAdapter.`session`
    `protected KeycloakSession` | ApplicationAdapter.`session`

    Methods in org.keycloak.models.jpa with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `RealmProvider` | JpaRealmProviderFactory.`create(KeycloakSession session)`
    `UserProvider` | JpaUserProviderFactory.`create(KeycloakSession session)`

    Constructors in org.keycloak.models.jpa with parameters of type KeycloakSession
    Constructor and Description
    `ApplicationAdapter(RealmModel realm, javax.persistence.EntityManager em, KeycloakSession session, ApplicationEntity applicationEntity)`
    `JpaRealmProvider(KeycloakSession session, javax.persistence.EntityManager em)`
    `JpaUserProvider(KeycloakSession session, javax.persistence.EntityManager em)`
    `RealmAdapter(KeycloakSession session, javax.persistence.EntityManager em, RealmEntity realm)`

  - ### Uses of KeycloakSession in org.keycloak.models.mongo.keycloak.adapters

    Fields in org.keycloak.models.mongo.keycloak.adapters declared as KeycloakSession
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSession` | ClientAdapter.`session`

    Methods in org.keycloak.models.mongo.keycloak.adapters with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `UserProvider` | MongoUserProviderFactory.`create(KeycloakSession session)`
    `RealmProvider` | MongoRealmProviderFactory.`create(KeycloakSession session)`

    Constructors in org.keycloak.models.mongo.keycloak.adapters with parameters of type KeycloakSession
    Constructor and Description
    `ApplicationAdapter(KeycloakSession session, RealmModel realm, MongoApplicationEntity applicationEntity, MongoStoreInvocationContext invContext)`
    `ClientAdapter(KeycloakSession session, RealmModel realm, T clientEntity, MongoStoreInvocationContext invContext)`
    `MongoRealmProvider(KeycloakSession session, MongoStore mongoStore, MongoStoreInvocationContext invocationContext)`
    `MongoUserProvider(KeycloakSession session, MongoStore mongoStore, MongoStoreInvocationContext invocationContext)`
    `OAuthClientAdapter(KeycloakSession session, RealmModel realm, MongoOAuthClientEntity oauthClientEntity, MongoStoreInvocationContext invContext)`
    `RealmAdapter(KeycloakSession session, MongoRealmEntity realmEntity, MongoStoreInvocationContext invocationContext)`
    `RoleAdapter(KeycloakSession session, RealmModel realm, MongoRoleEntity roleEntity, MongoStoreInvocationContext invContext)`
    `RoleAdapter(KeycloakSession session, RealmModel realm, MongoRoleEntity roleEntity, RoleContainerModel roleContainer, MongoStoreInvocationContext invContext)`
    `UserAdapter(KeycloakSession session, RealmModel realm, MongoUserEntity userEntity, MongoStoreInvocationContext invContext)`

  - ### Uses of KeycloakSession in org.keycloak.models.sessions.infinispan

    Methods in org.keycloak.models.sessions.infinispan with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `UserSessionProvider` | InfinispanUserSessionProviderFactory.`create(KeycloakSession session)`

    Constructors in org.keycloak.models.sessions.infinispan with parameters of type KeycloakSession
    Constructor and Description
    `ClientSessionAdapter(KeycloakSession session, InfinispanUserSessionProvider provider, org.infinispan.Cache<String,SessionEntity> cache, RealmModel realm, ClientSessionEntity entity)`
    `InfinispanUserSessionProvider(KeycloakSession session, org.infinispan.Cache<String,SessionEntity> sessionCache, org.infinispan.Cache<LoginFailureKey,LoginFailureEntity> loginFailureCache)`
    `UserSessionAdapter(KeycloakSession session, InfinispanUserSessionProvider provider, org.infinispan.Cache<String,SessionEntity> cache, RealmModel realm, UserSessionEntity entity)`

  - ### Uses of KeycloakSession in org.keycloak.models.sessions.jpa

    Fields in org.keycloak.models.sessions.jpa declared as KeycloakSession
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSession` | JpaUserSessionProvider.`session`

    Methods in org.keycloak.models.sessions.jpa with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `UserSessionProvider` | JpaUserSessionProviderFactory.`create(KeycloakSession session)`

    Constructors in org.keycloak.models.sessions.jpa with parameters of type KeycloakSession
    Constructor and Description
    `ClientSessionAdapter(KeycloakSession session, javax.persistence.EntityManager em, RealmModel realm, ClientSessionEntity entity)`
    `JpaUserSessionProvider(KeycloakSession session, javax.persistence.EntityManager em)`
    `UserSessionAdapter(KeycloakSession session, javax.persistence.EntityManager em, RealmModel realm, UserSessionEntity entity)`

  - ### Uses of KeycloakSession in org.keycloak.models.sessions.mem

    Methods in org.keycloak.models.sessions.mem with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `UserSessionProvider` | MemUserSessionProviderFactory.`create(KeycloakSession session)`

    Constructors in org.keycloak.models.sessions.mem with parameters of type KeycloakSession
    Constructor and Description
    `ClientSessionAdapter(KeycloakSession session, MemUserSessionProvider provider, RealmModel realm, ClientSessionEntity entity)`
    `MemUserSessionProvider(KeycloakSession session, ConcurrentHashMap<String,UserSessionEntity> userSessions, ConcurrentHashMap<String,ClientSessionEntity> clientSessions, ConcurrentHashMap<UsernameLoginFailureKey,UsernameLoginFailureEntity> loginFailures)`
    `UserSessionAdapter(KeycloakSession session, MemUserSessionProvider provider, RealmModel realm, UserSessionEntity entity)`

  - ### Uses of KeycloakSession in org.keycloak.models.sessions.mongo

    Methods in org.keycloak.models.sessions.mongo with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `UserSessionProvider` | MongoUserSessionProviderFactory.`create(KeycloakSession session)`

    Constructors in org.keycloak.models.sessions.mongo with parameters of type KeycloakSession
    Constructor and Description
    `ClientSessionAdapter(KeycloakSession session, MongoUserSessionProvider provider, RealmModel realm, MongoClientSessionEntity entity, MongoStoreInvocationContext invContext)`
    `MongoUserSessionProvider(KeycloakSession session, MongoStore mongoStore, MongoStoreInvocationContext invocationContext)`
    `UserSessionAdapter(KeycloakSession keycloakSession, MongoUserSessionProvider provider, MongoUserSessionEntity entity, RealmModel realm, MongoStoreInvocationContext invContext)`

  - ### Uses of KeycloakSession in org.keycloak.models.utils

    Methods in org.keycloak.models.utils with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `static UserModel` | RepresentationToModel.`createUser(KeycloakSession session, RealmModel newRealm, UserRepresentation userRep, Map<String,ApplicationModel> appMap)`
    `static UserModel` | KeycloakModelUtils.`findUserByNameOrEmail(KeycloakSession session, RealmModel realm, String username)` Try to find user by given username.
    `static void` | RepresentationToModel.`importRealm(KeycloakSession session, RealmRepresentation rep, RealmModel newRealm)`

  - ### Uses of KeycloakSession in org.keycloak.picketlink.ldap

    Methods in org.keycloak.picketlink.ldap with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `PartitionManagerProvider` | LDAPPartitionManagerProviderFactory.`create(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.protocol

    Methods in org.keycloak.protocol with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `LoginProtocol` | LoginProtocol.`setSession(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.protocol.oidc

    Fields in org.keycloak.protocol.oidc declared as KeycloakSession
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSession` | OpenIDConnect.`session`
    `protected KeycloakSession` | OpenIDConnectService.`session`

    Methods in org.keycloak.protocol.oidc with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `LoginProtocol` | OpenIDConnectFactory.`create(KeycloakSession session)`
    `AccessToken` | TokenManager.`refreshAccessToken(KeycloakSession session, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, RealmModel realm, ClientModel client, String encodedRefreshToken, EventBuilder event)`
    `OpenIDConnect` | OpenIDConnect.`setSession(KeycloakSession session)`

    Constructors in org.keycloak.protocol.oidc with parameters of type KeycloakSession
    Constructor and Description
    `OpenIDConnect(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo)`

  - ### Uses of KeycloakSession in org.keycloak.protocol.saml

    Fields in org.keycloak.protocol.saml declared as KeycloakSession
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSession` | SamlService.`session`
    `protected KeycloakSession` | SamlProtocol.`session`

    Methods in org.keycloak.protocol.saml with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `LoginProtocol` | SamlProtocolFactory.`create(KeycloakSession session)`
    `ApplicationImporter` | EntityDescriptorImporterFactory.`create(KeycloakSession session)`
    `SamlProtocol` | SamlProtocol.`setSession(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.provider

    Methods in org.keycloak.provider with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `T` | ProviderFactory.`create(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.services

    Classes in org.keycloak.services that implement KeycloakSession
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultKeycloakSession`

    Methods in org.keycloak.services that return KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `KeycloakSession` | DefaultKeycloakSessionFactory.`create()`

  - ### Uses of KeycloakSession in org.keycloak.services.managers

    Fields in org.keycloak.services.managers declared as KeycloakSession
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSession` | RealmManager.`session`

    Methods in org.keycloak.services.managers that return KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `KeycloakSession` | RealmManager.`getSession()`

    Methods in org.keycloak.services.managers with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `AuthenticationManager.AuthResult` | AppAuthManager.`authenticateBearerToken(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers)`
    `AuthenticationManager.AuthenticationStatus` | AuthenticationManager.`authenticateForm(KeycloakSession session, ClientConnection clientConnection, RealmModel realm, javax.ws.rs.core.MultivaluedMap<String,String> formData)`
    `AuthenticationManager.AuthResult` | AuthenticationManager.`authenticateIdentityCookie(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers)`
    `AuthenticationManager.AuthResult` | AppAuthManager.`authenticateIdentityCookie(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers)`
    `AuthenticationManager.AuthResult` | AuthenticationManager.`authenticateIdentityCookie(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, javax.ws.rs.core.HttpHeaders headers, boolean checkActive)`
    `protected AuthenticationManager.AuthenticationStatus` | AuthenticationManager.`authenticateInternal(KeycloakSession session, RealmModel realm, javax.ws.rs.core.MultivaluedMap<String,String> formData, String username)`
    `void` | ApplianceBootstrap.`bootstrap(KeycloakSession session, String contextPath)`
    `javax.ws.rs.core.Response` | AuthenticationManager.`checkNonFormAuthentication(KeycloakSession session, ClientSessionModel clientSession, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, org.jboss.resteasy.spi.HttpRequest request, ClientConnection clientConnection, javax.ws.rs.core.HttpHeaders headers, EventBuilder event)`
    `void` | BruteForceProtector.`failure(KeycloakSession session, BruteForceProtector.LoginEvent event)`
    `protected RealmModel` | BruteForceProtector.`getRealmModel(KeycloakSession session, BruteForceProtector.LoginEvent event)`
    `protected UsernameLoginFailureModel` | BruteForceProtector.`getUserModel(KeycloakSession session, BruteForceProtector.LoginEvent event)`
    `boolean` | BruteForceProtector.`isTemporarilyDisabled(KeycloakSession session, RealmModel realm, String username)`
    `static void` | AuthenticationManager.`logout(KeycloakSession session, RealmModel realm, UserSessionModel userSession, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection)`
    `void` | ResourceAdminManager.`logoutUser(URI requestUri, RealmModel realm, UserModel user, KeycloakSession keycloakSession)`
    `void` | ResourceAdminManager.`logoutUserFromApplication(URI requestUri, RealmModel realm, ApplicationModel resource, UserModel user, KeycloakSession session)`
    `static javax.ws.rs.core.Response` | AuthenticationManager.`nextActionAfterAuthentication(KeycloakSession session, UserSessionModel userSession, ClientSessionModel clientSession, ClientConnection clientConnection, org.jboss.resteasy.spi.HttpRequest request, javax.ws.rs.core.UriInfo uriInfo, EventBuilder event)`
    `static ClientSessionCode` | ClientSessionCode.`parse(String code, KeycloakSession session)`
    `static ClientSessionCode` | ClientSessionCode.`parse(String code, KeycloakSession session, RealmModel realm)`
    `static javax.ws.rs.core.Response` | AuthenticationManager.`redirectAfterSuccessfulFlow(KeycloakSession session, RealmModel realm, UserSessionModel userSession, ClientSessionModel clientSession, org.jboss.resteasy.spi.HttpRequest request, javax.ws.rs.core.UriInfo uriInfo, ClientConnection clientConnection)`
    `protected AuthenticationManager.AuthResult` | AuthenticationManager.`verifyIdentityToken(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, ClientConnection connection, boolean checkActive, String tokenString)`

    Constructors in org.keycloak.services.managers with parameters of type KeycloakSession
    Constructor and Description
    `EventsManager(RealmModel realm, KeycloakSession session, ClientConnection clientConnection)`
    `RealmManager(KeycloakSession session)`
    `UserManager(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.services.resources

    Fields in org.keycloak.services.resources declared as KeycloakSession
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSession` | WelcomeResource.`session`
    `protected KeycloakSession` | ClientsManagementService.`session`
    `protected KeycloakSession` | SocialResource.`session`
    `protected KeycloakSession` | LoginActionsService.`session`
    `protected KeycloakSession` | RealmsResource.`session`

  - ### Uses of KeycloakSession in org.keycloak.services.resources.admin

    Fields in org.keycloak.services.resources.admin declared as KeycloakSession
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSession` | UsersResource.`session`
    `protected KeycloakSession` | RealmAdminResource.`session`
    `protected KeycloakSession` | ScopeMappedResource.`session`
    `protected KeycloakSession` | ScopeMappedApplicationResource.`session`
    `protected KeycloakSession` | RealmsAdminResource.`session`
    `protected KeycloakSession` | AdminConsole.`session`
    `protected KeycloakSession` | OAuthClientResource.`session`
    `protected KeycloakSession` | UserFederationResource.`session`
    `protected KeycloakSession` | ApplicationResource.`session`
    `protected KeycloakSession` | OAuthClientsResource.`session`
    `protected KeycloakSession` | AdminRoot.`session`
    `protected KeycloakSession` | ApplicationsResource.`session`
    `protected KeycloakSession` | ClientAttributeCertificateResource.`session`

    Constructors in org.keycloak.services.resources.admin with parameters of type KeycloakSession
    Constructor and Description
    `ApplicationResource(RealmModel realm, RealmAuth auth, ApplicationModel applicationModel, KeycloakSession session)`
    `ClientAttributeCertificateResource(RealmModel realm, RealmAuth auth, ClientModel client, KeycloakSession session, String attributePrefix)`
    `OAuthClientResource(RealmModel realm, RealmAuth auth, OAuthClientModel oauthClient, KeycloakSession session)`
    `OAuthClientsByIdResource(RealmModel realm, RealmAuth auth, KeycloakSession session)`
    `OAuthClientsResource(RealmModel realm, RealmAuth auth, KeycloakSession session)`
    `ScopeMappedApplicationResource(RealmModel realm, RealmAuth auth, ClientModel client, KeycloakSession session, ApplicationModel app)`
    `ScopeMappedResource(RealmModel realm, RealmAuth auth, ClientModel client, KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.services.resources.flows

    Methods in org.keycloak.services.resources.flows with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `static LoginFormsProvider` | Flows.`forms(KeycloakSession session, RealmModel realm, ClientModel client, javax.ws.rs.core.UriInfo uriInfo)`
    `static javax.ws.rs.core.Response` | Flows.`forwardToSecurityFailurePage(KeycloakSession session, RealmModel realm, javax.ws.rs.core.UriInfo uriInfo, String message)`

  - ### Uses of KeycloakSession in org.keycloak.services.scheduled

    Methods in org.keycloak.services.scheduled with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `void` | ScheduledTask.`run(KeycloakSession session)`
    `void` | ClearExpiredUserSessions.`run(KeycloakSession session)`
    `void` | ClearExpiredEvents.`run(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.test.tools.jobs

    Methods in org.keycloak.test.tools.jobs with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | CreateUsersJob.`before(KeycloakSession session)`
    `protected void` | DeleteUsersJob.`before(KeycloakSession session)`
    `protected void` | UpdateUsersJob.`before(KeycloakSession session)`
    `protected abstract void` | UsersJob.`before(KeycloakSession keycloakSession)`
    `protected void` | CreateUsersJob.`runIteration(KeycloakSession session, RealmModel realm, Map<String,ApplicationModel> apps, Set<RoleModel> realmRoles, Map<String,Set<RoleModel>> appRoles, int counter)`
    `protected void` | DeleteUsersJob.`runIteration(KeycloakSession session, RealmModel realm, Map<String,ApplicationModel> apps, Set<RoleModel> realmRoles, Map<String,Set<RoleModel>> appRoles, int counter)`
    `protected void` | UpdateUsersJob.`runIteration(KeycloakSession session, RealmModel realm, Map<String,ApplicationModel> apps, Set<RoleModel> realmRoles, Map<String,Set<RoleModel>> appRoles, int counter)`
    `protected abstract void` | UsersJob.`runIteration(KeycloakSession session, RealmModel realm, Map<String,ApplicationModel> apps, Set<RoleModel> realmRoles, Map<String,Set<RoleModel>> appRoles, int counter)`

  - ### Uses of KeycloakSession in org.keycloak.testutils

    Methods in org.keycloak.testutils with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `UserFederationProvider` | DummyUserFederationProviderFactory.`create(KeycloakSession session)`
    `UserFederationProvider` | DummyUserFederationProviderFactory.`getInstance(KeycloakSession session, UserFederationProviderModel model)`

  - ### Uses of KeycloakSession in org.keycloak.theme

    Methods in org.keycloak.theme with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `ThemeProvider` | FolderThemeProviderFactory.`create(KeycloakSession sessions)`
    `ThemeProvider` | DefaultKeycloakThemeProviderFactory.`create(KeycloakSession session)`

  - ### Uses of KeycloakSession in org.keycloak.timer.basic

    Methods in org.keycloak.timer.basic with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `TimerProvider` | BasicTimerProviderFactory.`create(KeycloakSession session)`

Copyright © 2014. All Rights Reserved.