Class MapAuthenticatedClientSessionAdapter
- java.lang.Object
-
- org.keycloak.models.map.userSession.AbstractAuthenticatedClientSessionModel
-
- org.keycloak.models.map.userSession.MapAuthenticatedClientSessionAdapter
-
- All Implemented Interfaces:
AuthenticatedClientSessionModel,CommonClientSessionModel
public abstract class MapAuthenticatedClientSessionAdapter extends AbstractAuthenticatedClientSessionModel
- Author:
- Martin Kanis
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.sessions.CommonClientSessionModel
CommonClientSessionModel.Action, CommonClientSessionModel.ExecutionStatus
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.userSession.AbstractAuthenticatedClientSessionModel
client, entity, realm, session, userSession
-
Fields inherited from interface org.keycloak.models.AuthenticatedClientSessionModel
STARTED_AT_NOTE
-
-
Constructor Summary
Constructors Constructor Description MapAuthenticatedClientSessionAdapter(KeycloakSession session, RealmModel realm, UserSessionModel userSession, MapAuthenticatedClientSessionEntity entity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAction()ClientModelgetClient()StringgetCurrentRefreshToken()intgetCurrentRefreshTokenUseCount()StringgetId()StringgetNote(String name)Map<String,String>getNotes()StringgetProtocol()RealmModelgetRealm()StringgetRedirectUri()intgetTimestamp()UserSessionModelgetUserSession()voidremoveNote(String name)voidsetAction(String action)voidsetCurrentRefreshToken(String currentRefreshToken)voidsetCurrentRefreshTokenUseCount(int currentRefreshTokenUseCount)voidsetNote(String name, String value)voidsetProtocol(String method)voidsetRedirectUri(String uri)voidsetTimestamp(int timestamp)StringtoString()-
Methods inherited from class org.keycloak.models.map.userSession.AbstractAuthenticatedClientSessionModel
equals, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.keycloak.models.AuthenticatedClientSessionModel
detachFromUserSession, getStarted
-
-
-
-
Constructor Detail
-
MapAuthenticatedClientSessionAdapter
public MapAuthenticatedClientSessionAdapter(KeycloakSession session, RealmModel realm, UserSessionModel userSession, MapAuthenticatedClientSessionEntity entity)
-
-
Method Detail
-
getId
public String getId()
-
getTimestamp
public int getTimestamp()
-
setTimestamp
public void setTimestamp(int timestamp)
-
getUserSession
public UserSessionModel getUserSession()
-
getCurrentRefreshToken
public String getCurrentRefreshToken()
-
setCurrentRefreshToken
public void setCurrentRefreshToken(String currentRefreshToken)
-
getCurrentRefreshTokenUseCount
public int getCurrentRefreshTokenUseCount()
-
setCurrentRefreshTokenUseCount
public void setCurrentRefreshTokenUseCount(int currentRefreshTokenUseCount)
-
removeNote
public void removeNote(String name)
-
getRedirectUri
public String getRedirectUri()
-
setRedirectUri
public void setRedirectUri(String uri)
-
getRealm
public RealmModel getRealm()
-
getClient
public ClientModel getClient()
-
getAction
public String getAction()
-
setAction
public void setAction(String action)
-
getProtocol
public String getProtocol()
-
setProtocol
public void setProtocol(String method)
-
-