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 Details

    • 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
    • otherClaims

      protected Map<String,Object> otherClaims
    • scope

      protected String scope
    • error

      protected String error
    • errorDescription

      protected String errorDescription
    • errorUri

      protected String errorUri
  • Constructor Details

    • AccessTokenResponse

      public AccessTokenResponse()
  • Method Details

    • 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)
    • getOtherClaims

      public Map<String,Object> getOtherClaims()
    • setOtherClaims

      public void setOtherClaims(String name, Object value)
    • 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)