Package com.okta.sdk.resource.model
Class OAuthCredentialsClient
java.lang.Object
com.okta.sdk.resource.model.OAuthCredentialsClient
- 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 OAuthCredentialsClient
extends Object
implements Serializable
OAuth 2.0 and OpenID Connect Client object > **Note:** You must complete client registration with the IdP
Authorization Server for your Okta IdP instance to obtain client credentials.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Client authentication methods supported by the token endpoint -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclientSecret
(String clientSecret) boolean
The [Unique identifier](https://tools.ietf.org/html/rfc6749#section-2.2) issued by the AS for the Okta IdP instanceThe [Client secret](https://tools.ietf.org/html/rfc6749#section-2.3.1) issued by the AS for the Okta IdP instanceRequire Proof Key for Code Exchange (PKCE) for additional verificationClient authentication methods supported by the token endpointint
hashCode()
pkceRequired
(Boolean pkceRequired) void
setClientId
(String clientId) void
setClientSecret
(String clientSecret) void
setPkceRequired
(Boolean pkceRequired) void
setTokenEndpointAuthMethod
(OAuthCredentialsClient.TokenEndpointAuthMethodEnum tokenEndpointAuthMethod) tokenEndpointAuthMethod
(OAuthCredentialsClient.TokenEndpointAuthMethodEnum tokenEndpointAuthMethod) toString()
-
Field Details
-
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
-
OAuthCredentialsClient
public OAuthCredentialsClient()
-
-
Method Details
-
clientId
-
getClientId
The [Unique identifier](https://tools.ietf.org/html/rfc6749#section-2.2) issued by the AS for the Okta IdP instance- Returns:
- clientId
-
setClientId
-
clientSecret
-
getClientSecret
The [Client secret](https://tools.ietf.org/html/rfc6749#section-2.3.1) issued by the AS for the Okta IdP instance- Returns:
- clientSecret
-
setClientSecret
-
pkceRequired
-
getPkceRequired
Require Proof Key for Code Exchange (PKCE) for additional verification- Returns:
- pkceRequired
-
setPkceRequired
-
tokenEndpointAuthMethod
public OAuthCredentialsClient tokenEndpointAuthMethod(OAuthCredentialsClient.TokenEndpointAuthMethodEnum tokenEndpointAuthMethod) -
getTokenEndpointAuthMethod
Client authentication methods supported by the token endpoint- Returns:
- tokenEndpointAuthMethod
-
setTokenEndpointAuthMethod
public void setTokenEndpointAuthMethod(OAuthCredentialsClient.TokenEndpointAuthMethodEnum tokenEndpointAuthMethod) -
equals
-
hashCode
public int hashCode() -
toString
-