Package org.entur.jwt.client
Class ClientCredentialsResponse
java.lang.Object
org.entur.jwt.client.ClientCredentialsResponse
Class that contains the Tokens obtained after a call to the authorization
server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the Auth0's access token.Getter for the duration of this token in seconds since it was issued.Getter for the Auth0's refresh token.Getter for the token type.
-
Constructor Details
-
ClientCredentialsResponse
public ClientCredentialsResponse()
-
-
Method Details
-
getAccessToken
Getter for the Auth0's access token.- Returns:
- the access token or null if missing.
-
getRefreshToken
Getter for the Auth0's refresh token.- Returns:
- the refresh token or null if missing.
-
getTokenType
Getter for the token type.- Returns:
- the token type or null if missing.
-
getExpiresIn
Getter for the duration of this token in seconds since it was issued.- Returns:
- the number of seconds in which this token will expire, since the time it was issued.
-
getRefreshExpiresIn
-