Package com.pingidentity.sdk.oauth20
Class IssuedAccessToken
- java.lang.Object
-
- com.pingidentity.sdk.oauth20.IssuedAccessToken
-
public class IssuedAccessToken extends Object
An access token that is issued by the server - generally by an instance of aBearerAccessTokenManagementPlugin.
-
-
Constructor Summary
Constructors Constructor Description IssuedAccessToken(String tokenValue, String tokenType, Long expiresAt)Constructor for IssuedAccessToken.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetExpiresAt()Gets the expiration timestamp of the access token.StringgetTokenType()Gets the type of access token that was issued.StringgetTokenValue()Gets the access token value.
-
-
-
Constructor Detail
-
IssuedAccessToken
public IssuedAccessToken(String tokenValue, String tokenType, Long expiresAt)
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 Detail
-
getTokenType
public String getTokenType()
Gets the type of access token that was issued.- Returns:
- The type of access token that was issued.
-
getTokenValue
public String getTokenValue()
Gets the access token value.- Returns:
- The access token value.
-
getExpiresAt
public Long getExpiresAt()
Gets the expiration timestamp of the access token.- Returns:
- The expiration timestamp of the access token.
-
-