Class SsoAccessToken

java.lang.Object
software.amazon.awssdk.services.sso.internal.SsoAccessToken
All Implemented Interfaces:
SdkToken, Identity, TokenIdentity

public class SsoAccessToken extends Object implements SdkToken
  • Method Details

    • builder

      public static SsoAccessToken.Builder builder()
    • token

      public String token()
      Description copied from interface: TokenIdentity
      Retrieves string field representing the literal token string.
      Specified by:
      token in interface TokenIdentity
    • expirationTime

      public Optional<Instant> expirationTime()
      Description copied from interface: Identity
      The time after which this identity will no longer be valid. If this is empty, an expiration time is not known (but the identity may still expire at some time in the future).
      Specified by:
      expirationTime in interface Identity
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object