Package com.pingidentity.sdk.oauth20
Class IssuedAccessToken
java.lang.Object
com.pingidentity.sdk.oauth20.IssuedAccessToken
An access token that is issued by the server -
generally by an instance of a
BearerAccessTokenManagementPlugin.-
Constructor Summary
ConstructorsConstructorDescriptionIssuedAccessToken(String tokenValue, String tokenType, Long expiresAt) Constructor for IssuedAccessToken. -
Method Summary
Modifier and TypeMethodDescriptionGets the expiration timestamp of the access token.Gets the type of access token that was issued.Gets the access token value.
-
Constructor Details
-
IssuedAccessToken
Constructor for IssuedAccessToken.- Parameters:
tokenValue- The actual access token value.tokenType- The type of access token this will represent.expiresAt- The expiration timestamp for this access token.
-
-
Method Details
-
getTokenType
Gets the type of access token that was issued.- Returns:
- The type of access token that was issued.
-
getTokenValue
Gets the access token value.- Returns:
- The access token value.
-
getExpiresAt
Gets the expiration timestamp of the access token.- Returns:
- The expiration timestamp of the access token.
-