Package org.keycloak.representations
Class AccessTokenResponse
- java.lang.Object
-
- org.keycloak.representations.AccessTokenResponse
-
- Direct Known Subclasses:
AuthorizationResponse
public class AccessTokenResponse extends Object
OAuth 2.0 Access Token Response json- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected String
error
protected String
errorDescription
protected String
errorUri
protected long
expiresIn
protected String
idToken
protected int
notBeforePolicy
protected Map<String,Object>
otherClaims
protected long
refreshExpiresIn
protected String
refreshToken
protected String
scope
protected String
sessionState
protected String
token
protected String
tokenType
-
Constructor Summary
Constructors Constructor Description AccessTokenResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getError()
String
getErrorDescription()
String
getErrorUri()
long
getExpiresIn()
String
getIdToken()
int
getNotBeforePolicy()
Map<String,Object>
getOtherClaims()
long
getRefreshExpiresIn()
String
getRefreshToken()
String
getScope()
String
getSessionState()
String
getToken()
String
getTokenType()
void
setError(String error)
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
setScope(String scope)
void
setSessionState(String sessionState)
void
setToken(String token)
void
setTokenType(String tokenType)
-
-
-
Field Detail
-
token
protected String token
-
expiresIn
protected long expiresIn
-
refreshExpiresIn
protected long refreshExpiresIn
-
refreshToken
protected String refreshToken
-
tokenType
protected String tokenType
-
idToken
protected String idToken
-
notBeforePolicy
protected int notBeforePolicy
-
sessionState
protected String sessionState
-
scope
protected String scope
-
error
protected String error
-
errorDescription
protected String errorDescription
-
errorUri
protected String errorUri
-
-
Method Detail
-
getScope
public String getScope()
-
setScope
public void setScope(String scope)
-
getToken
public String getToken()
-
setToken
public void setToken(String token)
-
getExpiresIn
public long getExpiresIn()
-
setExpiresIn
public void setExpiresIn(long expiresIn)
-
getRefreshExpiresIn
public long getRefreshExpiresIn()
-
setRefreshExpiresIn
public void setRefreshExpiresIn(long refreshExpiresIn)
-
getRefreshToken
public String getRefreshToken()
-
setRefreshToken
public void setRefreshToken(String refreshToken)
-
getTokenType
public String getTokenType()
-
setTokenType
public void setTokenType(String tokenType)
-
getIdToken
public String getIdToken()
-
setIdToken
public void setIdToken(String idToken)
-
getNotBeforePolicy
public int getNotBeforePolicy()
-
setNotBeforePolicy
public void setNotBeforePolicy(int notBeforePolicy)
-
getSessionState
public String getSessionState()
-
setSessionState
public void setSessionState(String sessionState)
-
getError
public String getError()
-
setError
public void setError(String error)
-
getErrorDescription
public String getErrorDescription()
-
setErrorDescription
public void setErrorDescription(String errorDescription)
-
getErrorUri
public String getErrorUri()
-
setErrorUri
public void setErrorUri(String errorUri)
-
-