org.keycloak.models

## Interface OfflineUserSessionModel

- All Superinterfaces:
    UserSessionModel
  All Known Implementing Classes:
    PersistentUserSessionAdapter

      public interface OfflineUserSessionModel
      extends UserSessionModel

  Hacked extension to UserSessionModel so that user id can be obtain directly so
  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.keycloak.models.UserSessionModel

      `UserSessionModel.SessionPersistenceState, UserSessionModel.State`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getUserId()`

    - ### Methods inherited from interface org.keycloak.models.UserSessionModel

      `getAuthenticatedClientSessionByClient, getAuthenticatedClientSessions, getAuthMethod, getBrokerSessionId, getBrokerUserId, getId, getIpAddress, getLastSessionRefresh, getLoginUsername, getNote, getNotes, getRealm, getStarted, getState, getUser, isOffline, isRememberMe, removeAuthenticatedClientSessions, removeNote, restartSession, setLastSessionRefresh, setNote, setState`

- - ### Method Detail

    - #### getUserId

          String getUserId()

Copyright © 2021 JBoss by Red Hat. All rights reserved.