Class OAuth2AccessToken

java.lang.Object
com.okta.sdk.impl.oauth2.OAuth2AccessToken

public class OAuth2AccessToken extends Object
Represents the OAuth2 access token returned by Authorization server.
Since:
1.6.0
  • Field Details

  • Constructor Details

    • OAuth2AccessToken

      public OAuth2AccessToken()
  • Method Details

    • getTokenType

      public String getTokenType()
    • setTokenType

      public void setTokenType(String tokenType)
    • getExpiresIn

      public Integer getExpiresIn()
    • setExpiresIn

      public void setExpiresIn(Integer expiresIn)
    • getIdToken

      public String getIdToken()
    • setIdToken

      public void setIdToken(String idToken)
    • getAccessToken

      public String getAccessToken()
    • setAccessToken

      public void setAccessToken(String accessToken)
    • getScope

      public String getScope()
    • setScope

      public void setScope(String scope)
    • getIssuedAt

      public Instant getIssuedAt()
    • hasExpired

      public boolean hasExpired()
    • getExpiresAt

      public Instant getExpiresAt()
    • toString

      public String toString()
      Overrides:
      toString in class Object