Class AuthorizationServer

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

  • Constructor Details

    • AuthorizationServer

      public AuthorizationServer()
  • Method Details

    • audiences

      public AuthorizationServer audiences(List<String> audiences)
    • addaudiencesItem

      public AuthorizationServer addaudiencesItem(String audiencesItem)
    • getAudiences

      @Nullable public List<String> getAudiences()
      The recipients that the tokens are intended for. This becomes the `aud` claim in an access token. Okta currently supports only one audience.
      Returns:
      audiences
    • setAudiences

      public void setAudiences(List<String> audiences)
    • getCreated

      @Nullable public OffsetDateTime getCreated()
      Get created
      Returns:
      created
    • credentials

      public AuthorizationServer credentials(AuthorizationServerCredentials credentials)
    • getCredentials

      @Nullable public AuthorizationServerCredentials getCredentials()
      Get credentials
      Returns:
      credentials
    • setCredentials

      public void setCredentials(AuthorizationServerCredentials credentials)
    • description

      public AuthorizationServer description(String description)
    • getDescription

      @Nullable public String getDescription()
      The description of the custom authorization server
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • getId

      @Nullable public String getId()
      The ID of the custom authorization server
      Returns:
      id
    • issuer

      public AuthorizationServer issuer(String issuer)
    • getIssuer

      @Nullable public String getIssuer()
      The complete URL for the custom authorization server. This becomes the `iss` claim in an access token.
      Returns:
      issuer
    • setIssuer

      public void setIssuer(String issuer)
    • issuerMode

      public AuthorizationServer issuerMode(String issuerMode)
    • getIssuerMode

      @Nullable public String getIssuerMode()
      Indicates which value is specified in the issuer of the tokens that a custom authorization server returns: the Okta org domain URL or a custom domain URL. `issuerMode` is visible if you have a custom URL domain configured or the Dynamic Issuer Mode feature enabled. If you have a custom URL domain configured, you can set a custom domain URL in a custom authorization server, and this property is returned in the appropriate responses. When set to `ORG_URL`, then in responses, `issuer` is the Okta org domain URL: `https://${yourOktaDomain}`. When set to `CUSTOM_URL`, then in responses, `issuer` is the custom domain URL configured in the administration user interface. When set to `DYNAMIC`, then in responses, `issuer` is the custom domain URL if the OAuth 2.0 request was sent to the custom domain, or is the Okta org's domain URL if the OAuth 2.0 request was sent to the original Okta org domain. After you configure a custom URL domain, all new custom authorization servers use `CUSTOM_URL` by default. If the Dynamic Issuer Mode feature is enabled, then all new custom authorization servers use `DYNAMIC` by default. All existing custom authorization servers continue to use the original value until they're changed using the Admin Console or the API. This way, existing integrations with the client and resource server continue to work after the feature is enabled.
      Returns:
      issuerMode
    • setIssuerMode

      public void setIssuerMode(String issuerMode)
    • getLastUpdated

      @Nullable public OffsetDateTime getLastUpdated()
      Get lastUpdated
      Returns:
      lastUpdated
    • name

      public AuthorizationServer name(String name)
    • getName

      @Nullable public String getName()
      The name of the custom authorization server
      Returns:
      name
    • setName

      public void setName(String name)
    • status

      public AuthorizationServer status(LifecycleStatus status)
    • getStatus

      @Nullable public LifecycleStatus getStatus()
      Get status
      Returns:
      status
    • setStatus

      public void setStatus(LifecycleStatus status)
    • links

      public AuthorizationServer links(AuthServerLinks links)
    • getLinks

      @Nullable public AuthServerLinks getLinks()
      Get links
      Returns:
      links
    • setLinks

      public void setLinks(AuthServerLinks links)
    • 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