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 String
getAction()
ClientModel
getClient()
String
getCurrentRefreshToken()
int
getCurrentRefreshTokenUseCount()
String
getId()
String
getNote(String name)
Map<String,String>
getNotes()
String
getProtocol()
RealmModel
getRealm()
String
getRedirectUri()
int
getTimestamp()
UserSessionModel
getUserSession()
void
removeNote(String name)
void
setAction(String action)
void
setCurrentRefreshToken(String currentRefreshToken)
void
setCurrentRefreshTokenUseCount(int currentRefreshTokenUseCount)
void
setNote(String name, String value)
void
setProtocol(String method)
void
setRedirectUri(String uri)
void
setTimestamp(int timestamp)
String
toString()
-
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)
-
-