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

- Packages that use KeycloakSession
  Package | Description
  --- | ---
  org.keycloak.audit.email |
  org.keycloak.exportimport |
  org.keycloak.models |
  org.keycloak.models.cache |
  org.keycloak.models.cache.entities |
  org.keycloak.models.jpa |
  org.keycloak.models.mongo.keycloak.adapters |
  org.keycloak.services.managers |
  org.keycloak.services.resources |
  org.keycloak.services.resources.admin |
  org.keycloak.services.scheduled |

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

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

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

    Methods in org.keycloak.exportimport with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | ModelExporter.`exportApplications(KeycloakSession keycloakSession, String fileName)`
    `void` | ModelExporter.`exportModel(KeycloakSession keycloakSession, ExportWriter exportWriter)`
    `protected void` | ModelExporter.`exportOAuthClients(KeycloakSession keycloakSession, String fileName)`
    `protected void` | ModelExporter.`exportRealms(KeycloakSession keycloakSession, String fileName)`
    `protected void` | ModelExporter.`exportRoles(KeycloakSession keycloakSession, String fileName)`
    `protected void` | ModelExporter.`exportUserFailures(KeycloakSession keycloakSession, String fileName)`
    `protected void` | ModelExporter.`exportUsers(KeycloakSession keycloakSession, String fileName)`
    `protected ApplicationModel` | ModelImporter.`findApplicationById(KeycloakSession keycloakSession, String applicationId)`
    `protected void` | ModelImporter.`importApplications(KeycloakSession keycloakSession, String fileName)`
    `protected void` | ModelImporter.`importApplicationsStep2(KeycloakSession keycloakSession, String fileName)`
    `void` | ModelImporter.`importModel(KeycloakSession keycloakSession, ImportReader importReader)`
    `protected void` | ModelImporter.`importOAuthClients(KeycloakSession keycloakSession, String fileName)`
    `protected void` | ModelImporter.`importRealms(KeycloakSession keycloakSession, String fileName)`
    `protected void` | ModelImporter.`importRealmsStep2(KeycloakSession keycloakSession, String fileName)`
    `protected void` | ModelImporter.`importRoles(KeycloakSession keycloakSession, String fileName)`
    `void` | ModelImporter.`importUserFailures(KeycloakSession keycloakSession, String fileName)`
    `void` | ModelImporter.`importUsers(KeycloakSession keycloakSession, String fileName)`

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

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

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

    Subinterfaces of KeycloakSession in org.keycloak.models.cache
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `CacheKeycloakSession`

    Classes in org.keycloak.models.cache that implement KeycloakSession
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultCacheKeycloakSession`
    `class` | `NoCacheKeycloakSession`

    Fields in org.keycloak.models.cache declared as KeycloakSession
    Modifier and Type | Field and Description
    --- | ---
    `protected KeycloakSession` | NoCacheKeycloakSession.`sessionDelegate`
    `protected KeycloakSession` | DefaultCacheKeycloakSession.`sessionDelegate`

    Methods in org.keycloak.models.cache that return KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `KeycloakSession` | CacheKeycloakSession.`getDelegate()`
    `KeycloakSession` | NoCacheKeycloakSession.`getDelegate()`
    `KeycloakSession` | DefaultCacheKeycloakSession.`getDelegate()`

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

    Constructors in org.keycloak.models.cache.entities with parameters of type KeycloakSession
    Constructor and Description
    `CachedApplication(KeycloakCache cache, KeycloakSession delegate, RealmModel realm, ApplicationModel model)`
    `CachedClient(KeycloakCache cache, KeycloakSession delegate, RealmModel realm, ClientModel model)`
    `CachedOAuthClient(KeycloakCache cache, KeycloakSession delegate, RealmModel realm, OAuthClientModel model)`
    `CachedRealm(KeycloakCache cache, KeycloakSession delegate, RealmModel model)`

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

    Classes in org.keycloak.models.jpa that implement KeycloakSession
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JpaKeycloakSession`

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

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

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

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

    Classes in org.keycloak.models.mongo.keycloak.adapters that implement KeycloakSession
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MongoKeycloakSession`

    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 that return KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `KeycloakSession` | MongoKeycloakSessionFactory.`create(ProviderSession providerSession)`

    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)`
    `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.services.managers

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

    Methods in org.keycloak.services.managers with parameters of type KeycloakSession
    Modifier and Type | Method and Description
    --- | ---
    `void` | ApplianceBootstrap.`bootstrap(KeycloakSession session, String contextPath)`
    `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)`

    Constructors in org.keycloak.services.managers with parameters of type KeycloakSession
    Constructor and Description
    `RealmManager(KeycloakSession identitySession)`

  - ### 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` | TokenService.`session`
    `protected KeycloakSession` | SocialResource.`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` | OAuthClientResource.`session`
    `protected KeycloakSession` | AdminConsole.`session`
    `protected KeycloakSession` | ApplicationResource.`session`
    `protected KeycloakSession` | UsersResource.`session`
    `protected KeycloakSession` | OAuthClientsResource.`session`
    `protected KeycloakSession` | AdminRoot.`session`
    `protected KeycloakSession` | RealmsAdminResource.`session`
    `protected KeycloakSession` | RealmAdminResource.`session`
    `protected KeycloakSession` | ScopeMappedResource.`session`
    `protected KeycloakSession` | ApplicationsResource.`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)`
    `OAuthClientResource(RealmModel realm, RealmAuth auth, OAuthClientModel oauthClient, KeycloakSession session)`
    `OAuthClientsResource(RealmModel realm, RealmAuth auth, KeycloakSession session)`
    `ScopeMappedResource(RealmModel realm, RealmAuth auth, ClientModel client, KeycloakSession session)`

  - ### 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` | ClearExpiredUserSessions.`run(KeycloakSession keycloakSession, ProviderSession providerSession)`
    `void` | ScheduledTask.`run(KeycloakSession keycloakSession, ProviderSession providerSession)`
    `void` | ClearExpiredAuditEvents.`run(KeycloakSession keycloakSession, ProviderSession providerSession)`

Copyright © 2014. All Rights Reserved.