Package org.keycloak.admin.client.token
Class TokenManager
java.lang.Object
org.keycloak.admin.client.token.TokenManager
- Author:
 - rodrigo.sasaki@icarros.com.br
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidinvalidate(String token) Invalidates the current token, but only when it is equal to the token passed as an argument.voidlogout()voidsetMinTokenValidity(long minTokenValidity)  
- 
Constructor Details
- 
TokenManager
 
 - 
 - 
Method Details
- 
getAccessTokenString
 - 
getAccessToken
 - 
grantToken
 - 
refreshToken
 - 
logout
public void logout() - 
setMinTokenValidity
public void setMinTokenValidity(long minTokenValidity)  - 
invalidate
Invalidates the current token, but only when it is equal to the token passed as an argument.- Parameters:
 token- the token to invalidate (cannot be null).
 
 -