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

- Packages that use UserSessionModel
  Package | Description
  --- | ---
  org.keycloak.account |
  org.keycloak.account.freemarker |
  org.keycloak.account.freemarker.model |
  org.keycloak.audit |
  org.keycloak.models |
  org.keycloak.models.cache |
  org.keycloak.models.jpa |
  org.keycloak.models.mongo.keycloak.adapters |
  org.keycloak.services.managers |
  org.keycloak.services.resources.flows |

- - ### Uses of UserSessionModel in org.keycloak.account

    Method parameters in org.keycloak.account with type arguments of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `AccountProvider` | AccountProvider.`setSessions(List<UserSessionModel> sessions)`

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

    Method parameters in org.keycloak.account.freemarker with type arguments of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `AccountProvider` | FreeMarkerAccountProvider.`setSessions(List<UserSessionModel> sessions)`

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

    Constructors in org.keycloak.account.freemarker.model with parameters of type UserSessionModel
    Constructor and Description
    `SessionsBean.UserSessionBean(RealmModel realm, UserSessionModel session)`

    Constructor parameters in org.keycloak.account.freemarker.model with type arguments of type UserSessionModel
    Constructor and Description
    `SessionsBean(RealmModel realm, List<UserSessionModel> sessions)`

  - ### Uses of UserSessionModel in org.keycloak.audit

    Methods in org.keycloak.audit with parameters of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `Audit` | Audit.`session(UserSessionModel session)`

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

    Methods in org.keycloak.models that return UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `UserSessionModel` | KeycloakSession.`createUserSession(RealmModel realm, UserModel user, String ipAddress)`
    `UserSessionModel` | RealmModel.`createUserSession(UserModel user, String ipAddress)`
    `UserSessionModel` | RealmModel.`getUserSession(String id)`
    `UserSessionModel` | KeycloakSession.`getUserSession(String id, RealmModel realm)`

    Methods in org.keycloak.models that return types with arguments of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<UserSessionModel>` | ClientModel.`getUserSessions()`
    `Set<UserSessionModel>` | KeycloakSession.`getUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | RealmModel.`getUserSessions(UserModel user)`
    `List<UserSessionModel>` | KeycloakSession.`getUserSessions(UserModel user, RealmModel realm)`

    Methods in org.keycloak.models with parameters of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | KeycloakSession.`removeUserSession(UserSessionModel session)`
    `void` | RealmModel.`removeUserSession(UserSessionModel session)`

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

    Methods in org.keycloak.models.cache that return UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `UserSessionModel` | NoCacheKeycloakSession.`createUserSession(RealmModel realm, UserModel user, String ipAddress)`
    `UserSessionModel` | DefaultCacheKeycloakSession.`createUserSession(RealmModel realm, UserModel user, String ipAddress)`
    `UserSessionModel` | RealmAdapter.`createUserSession(UserModel user, String ipAddress)`
    `UserSessionModel` | RealmAdapter.`getUserSession(String id)`
    `UserSessionModel` | NoCacheKeycloakSession.`getUserSession(String id, RealmModel realm)`
    `UserSessionModel` | DefaultCacheKeycloakSession.`getUserSession(String id, RealmModel realm)`

    Methods in org.keycloak.models.cache that return types with arguments of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<UserSessionModel>` | ClientAdapter.`getUserSessions()`
    `Set<UserSessionModel>` | NoCacheKeycloakSession.`getUserSessions(RealmModel realm, ClientModel client)`
    `Set<UserSessionModel>` | DefaultCacheKeycloakSession.`getUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | RealmAdapter.`getUserSessions(UserModel user)`
    `List<UserSessionModel>` | NoCacheKeycloakSession.`getUserSessions(UserModel user, RealmModel realm)`
    `List<UserSessionModel>` | DefaultCacheKeycloakSession.`getUserSessions(UserModel user, RealmModel realm)`

    Methods in org.keycloak.models.cache with parameters of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | RealmAdapter.`removeUserSession(UserSessionModel session)`
    `void` | NoCacheKeycloakSession.`removeUserSession(UserSessionModel session)`
    `void` | DefaultCacheKeycloakSession.`removeUserSession(UserSessionModel session)`

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

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

    Methods in org.keycloak.models.jpa that return UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `UserSessionModel` | JpaKeycloakSession.`createUserSession(RealmModel realm, UserModel user, String ipAddress)`
    `UserSessionModel` | RealmAdapter.`createUserSession(UserModel user, String ipAddress)`
    `UserSessionModel` | RealmAdapter.`getUserSession(String id)`
    `UserSessionModel` | JpaKeycloakSession.`getUserSession(String id, RealmModel realm)`

    Methods in org.keycloak.models.jpa that return types with arguments of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<UserSessionModel>` | ClientAdapter.`getUserSessions()`
    `Set<UserSessionModel>` | JpaKeycloakSession.`getUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | RealmAdapter.`getUserSessions(UserModel user)`
    `List<UserSessionModel>` | JpaKeycloakSession.`getUserSessions(UserModel user, RealmModel realm)`

    Methods in org.keycloak.models.jpa with parameters of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | RealmAdapter.`removeUserSession(UserSessionModel session)`
    `void` | JpaKeycloakSession.`removeUserSession(UserSessionModel session)`

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

    Methods in org.keycloak.models.mongo.keycloak.adapters that return UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `UserSessionModel` | MongoKeycloakSession.`createUserSession(RealmModel realm, UserModel user, String ipAddress)`
    `UserSessionModel` | RealmAdapter.`createUserSession(UserModel user, String ipAddress)`
    `UserSessionModel` | RealmAdapter.`getUserSession(String id)`
    `UserSessionModel` | MongoKeycloakSession.`getUserSession(String id, RealmModel realm)`

    Methods in org.keycloak.models.mongo.keycloak.adapters that return types with arguments of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `Set<UserSessionModel>` | ClientAdapter.`getUserSessions()`
    `Set<UserSessionModel>` | MongoKeycloakSession.`getUserSessions(RealmModel realm, ClientModel client)`
    `List<UserSessionModel>` | RealmAdapter.`getUserSessions(UserModel user)`
    `List<UserSessionModel>` | MongoKeycloakSession.`getUserSessions(UserModel user, RealmModel realm)`

    Methods in org.keycloak.models.mongo.keycloak.adapters with parameters of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | MongoKeycloakSession.`removeUserSession(UserSessionModel session)`
    `void` | RealmAdapter.`removeUserSession(UserSessionModel session)`

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

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

    Methods in org.keycloak.services.managers with parameters of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `AccessCodeEntry` | TokenManager.`createAccessCode(String scopeParam, String state, String redirect, RealmModel realm, ClientModel client, UserModel user, UserSessionModel session)`
    `AccessToken` | TokenManager.`createClientAccessToken(String scopeParam, RealmModel realm, ClientModel client, UserModel user, UserSessionModel session)`
    `AccessToken` | TokenManager.`createClientAccessToken(String scopeParam, RealmModel realm, ClientModel client, UserModel user, UserSessionModel session, List<RoleModel> realmRolesRequested, javax.ws.rs.core.MultivaluedMap<String,RoleModel> resourceRolesRequested)`
    `AccessToken` | AuthenticationManager.`createIdentityToken(RealmModel realm, UserModel user, UserSessionModel session)`
    `void` | AuthenticationManager.`createLoginCookie(RealmModel realm, UserModel user, UserSessionModel session, javax.ws.rs.core.UriInfo uriInfo, boolean rememberMe)`
    `TokenManager.AccessTokenResponseBuilder` | TokenManager.AccessTokenResponseBuilder.`generateAccessToken(String scopeParam, ClientModel client, UserModel user, UserSessionModel session)`
    `protected AccessToken` | TokenManager.`initToken(RealmModel realm, ClientModel client, UserModel user, UserSessionModel session)`
    `static boolean` | AuthenticationManager.`isSessionValid(RealmModel realm, UserSessionModel session)`
    `static void` | AuthenticationManager.`logout(RealmModel realm, UserSessionModel session, javax.ws.rs.core.UriInfo uriInfo)`
    `static UserSessionRepresentation` | ModelToRepresentation.`toRepresentation(UserSessionModel session)`

    Constructors in org.keycloak.services.managers with parameters of type UserSessionModel
    Constructor and Description
    `AuthenticationManager.AuthResult(UserModel user, UserSessionModel session, AccessToken token)`

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

    Methods in org.keycloak.services.resources.flows with parameters of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | OAuthFlows.`processAccessCode(String scopeParam, String state, String redirect, ClientModel client, UserModel user, UserSessionModel session, String username, boolean rememberMe, String authMethod, Audit audit)`
    `javax.ws.rs.core.Response` | OAuthFlows.`redirectAccessCode(AccessCodeEntry accessCode, UserSessionModel session, String state, String redirect)`
    `javax.ws.rs.core.Response` | OAuthFlows.`redirectAccessCode(AccessCodeEntry accessCode, UserSessionModel session, String state, String redirect, boolean rememberMe)`

Copyright © 2014. All Rights Reserved.