Package com.okta.sdk.resource.model
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionautoKeyRotation
(Boolean autoKeyRotation) clientSecret
(String clientSecret) boolean
Requested key rotation modeUnique 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).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.Requires Proof Key for Code Exchange (PKCE) for additional verification.Get tokenEndpointAuthMethodint
hashCode()
pkceRequired
(Boolean pkceRequired) void
setAutoKeyRotation
(Boolean autoKeyRotation) void
setClientId
(String clientId) void
setClientSecret
(String clientSecret) void
setPkceRequired
(Boolean pkceRequired) void
setTokenEndpointAuthMethod
(OAuthEndpointAuthenticationMethod tokenEndpointAuthMethod) tokenEndpointAuthMethod
(OAuthEndpointAuthenticationMethod tokenEndpointAuthMethod) toString()
-
Field Details
-
JSON_PROPERTY_AUTO_KEY_ROTATION
- See Also:
-
JSON_PROPERTY_CLIENT_ID
- See Also:
-
JSON_PROPERTY_CLIENT_SECRET
- See Also:
-
JSON_PROPERTY_PKCE_REQUIRED
- See Also:
-
JSON_PROPERTY_TOKEN_ENDPOINT_AUTH_METHOD
- See Also:
-
-
Constructor Details
-
ApplicationCredentialsOAuthClient
public ApplicationCredentialsOAuthClient()
-
-
Method Details
-
autoKeyRotation
-
getAutoKeyRotation
Requested key rotation mode- Returns:
- autoKeyRotation
-
setAutoKeyRotation
-
clientId
-
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
-
clientSecret
-
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
-
pkceRequired
-
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
-
tokenEndpointAuthMethod
public ApplicationCredentialsOAuthClient tokenEndpointAuthMethod(OAuthEndpointAuthenticationMethod tokenEndpointAuthMethod) -
getTokenEndpointAuthMethod
Get tokenEndpointAuthMethod- Returns:
- tokenEndpointAuthMethod
-
setTokenEndpointAuthMethod
-
equals
-
hashCode
public int hashCode() -
toString
-