public class RestartLoginCookie extends Object implements Token
Modifier and Type | Field and Description |
---|---|
protected String |
action |
protected String |
authMethod |
protected String |
clientId |
protected String |
cs
Deprecated.
|
static String |
KC_RESTART |
protected Map<String,String> |
notes |
protected String |
redirectUri |
Constructor and Description |
---|
RestartLoginCookie() |
RestartLoginCookie(AuthenticationSessionModel authSession) |
Modifier and Type | Method and Description |
---|---|
static void |
expireRestartCookie(RealmModel realm,
ClientConnection connection,
javax.ws.rs.core.UriInfo uriInfo) |
String |
getAction() |
String |
getAuthMethod() |
TokenCategory |
getCategory() |
String |
getClientId() |
Map<String,String> |
getNotes() |
String |
getRedirectUri() |
static AuthenticationSessionModel |
restartSession(KeycloakSession session,
RealmModel realm,
RootAuthenticationSessionModel rootSession,
String expectedClientId) |
void |
setAction(String action) |
void |
setAuthMethod(String authMethod) |
void |
setClientId(String clientId) |
void |
setNotes(Map<String,String> notes) |
void |
setRedirectUri(String redirectUri) |
static void |
setRestartCookie(KeycloakSession session,
RealmModel realm,
ClientConnection connection,
javax.ws.rs.core.UriInfo uriInfo,
AuthenticationSessionModel authSession) |
public static final String KC_RESTART
protected String clientId
protected String authMethod
protected String redirectUri
protected String action
@Deprecated protected String cs
public RestartLoginCookie()
public RestartLoginCookie(AuthenticationSessionModel authSession)
public String getClientId()
public void setClientId(String clientId)
public String getAuthMethod()
public void setAuthMethod(String authMethod)
public String getRedirectUri()
public void setRedirectUri(String redirectUri)
public String getAction()
public void setAction(String action)
public static void setRestartCookie(KeycloakSession session, RealmModel realm, ClientConnection connection, javax.ws.rs.core.UriInfo uriInfo, AuthenticationSessionModel authSession)
public static void expireRestartCookie(RealmModel realm, ClientConnection connection, javax.ws.rs.core.UriInfo uriInfo)
public static AuthenticationSessionModel restartSession(KeycloakSession session, RealmModel realm, RootAuthenticationSessionModel rootSession, String expectedClientId) throws Exception
Exception
public TokenCategory getCategory()
getCategory
in interface Token
Copyright © 2020 JBoss by Red Hat. All rights reserved.