Package org.keycloak.services.util
Class UserSessionUtil
java.lang.Object
org.keycloak.services.util.UserSessionUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkTokenIssuedAt
(RealmModel realm, AccessToken token, UserSessionModel userSession, EventBuilder event, ClientModel client) static UserSessionModel
findValidSession
(KeycloakSession session, RealmModel realm, AccessToken token, EventBuilder event, ClientModel client) static UserSessionModel
findValidSession
(KeycloakSession session, RealmModel realm, AccessToken token, EventBuilder event, ClientModel client, OAuth2Error error)
-
Constructor Details
-
UserSessionUtil
public UserSessionUtil()
-
-
Method Details
-
findValidSession
public static UserSessionModel findValidSession(KeycloakSession session, RealmModel realm, AccessToken token, EventBuilder event, ClientModel client) -
findValidSession
public static UserSessionModel findValidSession(KeycloakSession session, RealmModel realm, AccessToken token, EventBuilder event, ClientModel client, OAuth2Error error) -
checkTokenIssuedAt
public static void checkTokenIssuedAt(RealmModel realm, AccessToken token, UserSessionModel userSession, EventBuilder event, ClientModel client)
-