public class RefreshableKeycloakSecurityContext extends KeycloakSecurityContext
Modifier and Type | Field and Description |
---|---|
protected KeycloakDeployment |
deployment |
protected static org.jboss.logging.Logger |
log |
protected String |
refreshToken |
idToken, idTokenString, token, tokenString
Constructor and Description |
---|
RefreshableKeycloakSecurityContext() |
RefreshableKeycloakSecurityContext(KeycloakDeployment deployment,
String tokenString,
AccessToken token,
String idTokenString,
IDToken idToken,
String refreshToken) |
Modifier and Type | Method and Description |
---|---|
KeycloakDeployment |
getDeployment() |
AccessToken |
getToken() |
String |
getTokenString() |
boolean |
isActive() |
void |
refreshExpiredToken() |
void |
setDeployment(KeycloakDeployment deployment) |
getIdToken, getIdTokenString
protected static org.jboss.logging.Logger log
protected transient KeycloakDeployment deployment
protected String refreshToken
public RefreshableKeycloakSecurityContext()
public RefreshableKeycloakSecurityContext(KeycloakDeployment deployment, String tokenString, AccessToken token, String idTokenString, IDToken idToken, String refreshToken)
public AccessToken getToken()
getToken
in class KeycloakSecurityContext
public String getTokenString()
getTokenString
in class KeycloakSecurityContext
public boolean isActive()
public KeycloakDeployment getDeployment()
public void setDeployment(KeycloakDeployment deployment)
public void refreshExpiredToken()
Copyright © 2014. All Rights Reserved.