Class AccessToken

java.lang.Object
com.ibm.security.access.ciclient.AccessToken

public class AccessToken extends Object
A representation of the CI Access Token.
  • Method Details

    • getAccessToken

      public String getAccessToken()
      Returns the access token.
      Returns:
      String
    • getScope

      public String getScope()
      Returns the scope for which this access token is valid.
      Returns:
      String
    • getTokenType

      public String getTokenType()
      Returns the type of the access token. For example Bearer.
      Returns:
      String
    • getExpiresIn

      public int getExpiresIn()
      Return the number of seconds that this access token is valid.
      Returns:
      int
    • getExpiresTime

      public Instant getExpiresTime()
      Returns the time that this access token expires.
      Returns:
      java.time.Instant