Class BaseToken

java.lang.Object
com.okta.sdk.resource.model.BaseToken
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 BaseToken extends Object implements Serializable
BaseToken
See Also:
  • Field Details

  • Constructor Details

    • BaseToken

      public BaseToken()
  • Method Details

    • claims

      public BaseToken claims(Object claims)
    • getClaims

      @Nullable public Object getClaims()
      Claims included in the token. Consists of name-value pairs for each included claim. For descriptions of the claims that you can include, see the Okta [OpenID Connect and OAuth 2.0 API reference](/openapi/okta-oauth/guides/overview/#claims).
      Returns:
      claims
    • setClaims

      public void setClaims(Object claims)
    • lifetime

      public BaseToken lifetime(BaseTokenLifetime lifetime)
    • getLifetime

      @Nullable public BaseTokenLifetime getLifetime()
      Get lifetime
      Returns:
      lifetime
    • setLifetime

      public void setLifetime(BaseTokenLifetime lifetime)
    • 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