## 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.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.jpa

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

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

  - ### 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`

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

  - ### 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` | UsersResource.`session`
    `protected KeycloakSession` | ScopeMappedResource.`session`
    `protected KeycloakSession` | RealmsAdminResource.`session`
    `protected KeycloakSession` | RealmAdminResource.`session`
    `protected KeycloakSession` | OAuthClientsResource.`session`
    `protected KeycloakSession` | OAuthClientResource.`session`
    `protected KeycloakSession` | ApplicationsResource.`session`
    `protected KeycloakSession` | ApplicationResource.`session`
    `protected KeycloakSession` | AdminRoot.`session`
    `protected KeycloakSession` | AdminConsole.`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` | ScheduledTask.`run(KeycloakSession keycloakSession, ProviderSession providerSession)`
    `void` | ClearExpiredUserSessions.`run(KeycloakSession keycloakSession, ProviderSession providerSession)`
    `void` | ClearExpiredAuditEvents.`run(KeycloakSession keycloakSession, ProviderSession providerSession)`

Copyright © 2014. All Rights Reserved.