Class ApplicationCredentialsOAuthClient

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T08:35:59.300824-05:00[America/Chicago]", comments="Generator version: 7.8.0") public class ApplicationCredentialsOAuthClient extends Object implements Serializable
ApplicationCredentialsOAuthClient
See Also:
  • Field Details

  • Constructor Details

    • ApplicationCredentialsOAuthClient

      public ApplicationCredentialsOAuthClient()
  • Method Details

    • autoKeyRotation

      public ApplicationCredentialsOAuthClient autoKeyRotation(Boolean autoKeyRotation)
    • getAutoKeyRotation

      @Nullable public Boolean getAutoKeyRotation()
      Requested key rotation mode
      Returns:
      autoKeyRotation
    • setAutoKeyRotation

      public void setAutoKeyRotation(Boolean autoKeyRotation)
    • clientId

      public ApplicationCredentialsOAuthClient clientId(String clientId)
    • getClientId

      @Nullable public String getClientId()
      Unique identifier for the OAuth 2.0 client app > **Notes:** > * If you don't specify the `client_id`, this immutable property is populated with the [Application instance ID](/openapi/okta-management/management/tag/Application/#tag/Application/operation/getApplication!c=200&path=4/id&t=response). > * The `client_id` must consist of alphanumeric characters or the following special characters: `$-_.+!*'(),`. > * You can't use the reserved word `ALL_CLIENTS`.
      Returns:
      clientId
    • setClientId

      public void setClientId(String clientId)
    • clientSecret

      public ApplicationCredentialsOAuthClient clientSecret(String clientSecret)
    • getClientSecret

      @Nullable public String getClientSecret()
      OAuth 2.0 client secret string (used for confidential clients) > **Notes:** If a `client_secret` isn't provided on creation, and the `token_endpoint_auth_method` requires one, Okta generates a random `client_secret` for the client app. > The `client_secret` is only shown when an OAuth 2.0 client app is created or updated (and only if the `token_endpoint_auth_method` requires a client secret).
      Returns:
      clientSecret
    • setClientSecret

      public void setClientSecret(String clientSecret)
    • pkceRequired

      public ApplicationCredentialsOAuthClient pkceRequired(Boolean pkceRequired)
    • getPkceRequired

      @Nullable public Boolean getPkceRequired()
      Requires Proof Key for Code Exchange (PKCE) for additional verification. If `token_endpoint_auth_method` is `none`, then `pkce_required` must be `true`. The default is `true` for browser and native app types.
      Returns:
      pkceRequired
    • setPkceRequired

      public void setPkceRequired(Boolean pkceRequired)
    • tokenEndpointAuthMethod

      public ApplicationCredentialsOAuthClient tokenEndpointAuthMethod(OAuthEndpointAuthenticationMethod tokenEndpointAuthMethod)
    • getTokenEndpointAuthMethod

      @Nullable public OAuthEndpointAuthenticationMethod getTokenEndpointAuthMethod()
      Get tokenEndpointAuthMethod
      Returns:
      tokenEndpointAuthMethod
    • setTokenEndpointAuthMethod

      public void setTokenEndpointAuthMethod(OAuthEndpointAuthenticationMethod tokenEndpointAuthMethod)
    • 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