Class SocialAuthToken

java.lang.Object
com.okta.sdk.resource.model.SocialAuthToken
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T16:19:57.008753975Z[Etc/UTC]", comments="Generator version: 7.8.0") public class SocialAuthToken extends Object implements Serializable
The Social Authentication Token object provides the tokens and associated metadata provided by social providers during social authentication.
See Also:
  • Field Details

  • Constructor Details

    • SocialAuthToken

      public SocialAuthToken()
  • Method Details

    • getExpiresAt

      @Nullable public OffsetDateTime getExpiresAt()
      Timestamp when the object expires
      Returns:
      expiresAt
    • getId

      @Nullable public String getId()
      Unique identifier for the token
      Returns:
      id
    • getScopes

      @Nullable public List<String> getScopes()
      The scopes that the token is good for
      Returns:
      scopes
    • getToken

      @Nullable public String getToken()
      The raw token
      Returns:
      token
    • getTokenAuthScheme

      @Nullable public String getTokenAuthScheme()
      The token authentication scheme as defined by the social provider
      Returns:
      tokenAuthScheme
    • getTokenType

      @Nullable public String getTokenType()
      The type of token defined by the [OAuth Token Exchange Spec](https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-07#section-3)
      Returns:
      tokenType
    • 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