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 a BearerAccessTokenManagementPlugin.
  • Constructor Details

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

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