keycloak
公開メンバ関数 | 全メンバ一覧
org.keycloak.models.OfflineUserSessionModel インタフェース
org.keycloak.models.OfflineUserSessionModel の継承関係図
Inheritance graph
org.keycloak.models.OfflineUserSessionModel 連携図
Collaboration graph

公開メンバ関数

String getUserId ()
 
String getId ()
 
RealmModel getRealm ()
 
String getBrokerSessionId ()
 
String getBrokerUserId ()
 
UserModel getUser ()
 
String getLoginUsername ()
 
String getIpAddress ()
 
String getAuthMethod ()
 
boolean isRememberMe ()
 
int getStarted ()
 
int getLastSessionRefresh ()
 
void setLastSessionRefresh (int seconds)
 
boolean isOffline ()
 
Map< String, AuthenticatedClientSessionModelgetAuthenticatedClientSessions ()
 
default AuthenticatedClientSessionModel getAuthenticatedClientSessionByClient (String clientUUID)
 
void removeAuthenticatedClientSessions (Collection< String > removedClientUUIDS)
 
String getNote (String name)
 
void setNote (String name, String value)
 
void removeNote (String name)
 
Map< String, String > getNotes ()
 
State getState ()
 
void setState (State state)
 
void restartSession (RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe, String brokerSessionId, String brokerUserId)
 

詳解

Hacked extension to UserSessionModel so that user id can be obtain directly so

著者
Bill Burke
バージョン
Revision
1

関数詳解

◆ getAuthenticatedClientSessionByClient()

default AuthenticatedClientSessionModel org.keycloak.models.UserSessionModel.getAuthenticatedClientSessionByClient ( String  clientUUID)
inlineinherited

Returns a client session for the given client UUID.

戻り値

org.keycloak.models.sessions.infinispan.UserSessionAdapterで実装されています。

67  {
68  return getAuthenticatedClientSessions().get(clientUUID);
69  };
Map< String, AuthenticatedClientSessionModel > getAuthenticatedClientSessions()

◆ getAuthenticatedClientSessions()

Map<String, AuthenticatedClientSessionModel> org.keycloak.models.UserSessionModel.getAuthenticatedClientSessions ( )
inherited

Returns map where key is ID of the client (its UUID) and value is ID respective AuthenticatedClientSessionModel object.

戻り値

org.keycloak.models.session.PersistentUserSessionAdapter, org.keycloak.models.sessions.infinispan.UserSessionAdapterで実装されています。

◆ getAuthMethod()

String org.keycloak.models.UserSessionModel.getAuthMethod ( )
inherited

◆ getBrokerSessionId()

String org.keycloak.models.UserSessionModel.getBrokerSessionId ( )
inherited

If created via a broker external login, this is an identifier that can be used to match external broker backchannel logout requests to a UserSession

戻り値

org.keycloak.models.sessions.infinispan.UserSessionAdapter, org.keycloak.models.session.PersistentUserSessionAdapterで実装されています。

◆ getBrokerUserId()

String org.keycloak.models.UserSessionModel.getBrokerUserId ( )
inherited

◆ getId()

String org.keycloak.models.UserSessionModel.getId ( )
inherited

◆ getIpAddress()

String org.keycloak.models.UserSessionModel.getIpAddress ( )
inherited

◆ getLastSessionRefresh()

int org.keycloak.models.UserSessionModel.getLastSessionRefresh ( )
inherited

◆ getLoginUsername()

String org.keycloak.models.UserSessionModel.getLoginUsername ( )
inherited

◆ getNote()

String org.keycloak.models.UserSessionModel.getNote ( String  name)
inherited

◆ getNotes()

Map<String, String> org.keycloak.models.UserSessionModel.getNotes ( )
inherited

◆ getRealm()

RealmModel org.keycloak.models.UserSessionModel.getRealm ( )
inherited

◆ getStarted()

int org.keycloak.models.UserSessionModel.getStarted ( )
inherited

◆ getState()

State org.keycloak.models.UserSessionModel.getState ( )
inherited

◆ getUser()

UserModel org.keycloak.models.UserSessionModel.getUser ( )
inherited

◆ getUserId()

String org.keycloak.models.OfflineUserSessionModel.getUserId ( )

◆ isOffline()

boolean org.keycloak.models.UserSessionModel.isOffline ( )
inherited

◆ isRememberMe()

boolean org.keycloak.models.UserSessionModel.isRememberMe ( )
inherited

◆ removeAuthenticatedClientSessions()

void org.keycloak.models.UserSessionModel.removeAuthenticatedClientSessions ( Collection< String >  removedClientUUIDS)
inherited

Removes authenticated client sessions for all clients whose UUID is present in

removedClientUUIDS

parameter.

引数
removedClientUUIDS

org.keycloak.models.session.PersistentUserSessionAdapter, org.keycloak.models.sessions.infinispan.UserSessionAdapterで実装されています。

◆ removeNote()

void org.keycloak.models.UserSessionModel.removeNote ( String  name)
inherited

◆ restartSession()

void org.keycloak.models.UserSessionModel.restartSession ( RealmModel  realm,
UserModel  user,
String  loginUsername,
String  ipAddress,
String  authMethod,
boolean  rememberMe,
String  brokerSessionId,
String  brokerUserId 
)
inherited

◆ setLastSessionRefresh()

void org.keycloak.models.UserSessionModel.setLastSessionRefresh ( int  seconds)
inherited

◆ setNote()

void org.keycloak.models.UserSessionModel.setNote ( String  name,
String  value 
)
inherited

◆ setState()

void org.keycloak.models.UserSessionModel.setState ( State  state)
inherited

このインタフェース詳解は次のファイルから抽出されました: