Package org.keycloak.representations
Class AccessTokenResponse
java.lang.Object
org.keycloak.representations.AccessTokenResponse
- Direct Known Subclasses:
AuthorizationResponse
OAuth 2.0 Access Token Response json
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetError()
long
int
long
getScope()
getToken()
void
void
setErrorDescription
(String errorDescription) void
setErrorUri
(String errorUri) void
setExpiresIn
(long expiresIn) void
setIdToken
(String idToken) void
setNotBeforePolicy
(int notBeforePolicy) void
setOtherClaims
(String name, Object value) void
setRefreshExpiresIn
(long refreshExpiresIn) void
setRefreshToken
(String refreshToken) void
void
setSessionState
(String sessionState) void
void
setTokenType
(String tokenType)
-
Field Details
-
token
-
expiresIn
protected long expiresIn -
refreshExpiresIn
protected long refreshExpiresIn -
refreshToken
-
tokenType
-
idToken
-
notBeforePolicy
protected int notBeforePolicy -
sessionState
-
otherClaims
-
scope
-
error
-
errorDescription
-
errorUri
-
-
Constructor Details
-
AccessTokenResponse
public AccessTokenResponse()
-
-
Method Details
-
getScope
-
setScope
-
getToken
-
setToken
-
getExpiresIn
public long getExpiresIn() -
setExpiresIn
public void setExpiresIn(long expiresIn) -
getRefreshExpiresIn
public long getRefreshExpiresIn() -
setRefreshExpiresIn
public void setRefreshExpiresIn(long refreshExpiresIn) -
getRefreshToken
-
setRefreshToken
-
getTokenType
-
setTokenType
-
getIdToken
-
setIdToken
-
getNotBeforePolicy
public int getNotBeforePolicy() -
setNotBeforePolicy
public void setNotBeforePolicy(int notBeforePolicy) -
getSessionState
-
setSessionState
-
getOtherClaims
-
setOtherClaims
-
getError
-
setError
-
getErrorDescription
-
setErrorDescription
-
getErrorUri
-
setErrorUri
-