## 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.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` | RealmModel.`createUserSession(UserModel user, String ipAddress)`
    `UserSessionModel` | RealmModel.`getUserSession(String id)`

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

    Methods in org.keycloak.models with parameters of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | RealmModel.`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` | RealmAdapter.`createUserSession(UserModel user, String ipAddress)`
    `UserSessionModel` | RealmAdapter.`getUserSession(String id)`

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

    Methods in org.keycloak.models.jpa with parameters of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `void` | RealmAdapter.`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` | RealmAdapter.`createUserSession(UserModel user, String ipAddress)`
    `UserSessionModel` | RealmAdapter.`getUserSession(String id)`

    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()`
    `List<UserSessionModel>` | RealmAdapter.`getUserSessions(UserModel user)`

    Methods in org.keycloak.models.mongo.keycloak.adapters with parameters of type UserSessionModel
    Modifier and Type | Method and Description
    --- | ---
    `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.