Package com.okta.sdk.resource.model
Class OAuth2Settings
java.lang.Object
com.okta.sdk.resource.model.OAuth2Settings
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]",
comments="Generator version: 7.15.0")
public class OAuth2Settings
extends Object
implements Serializable
OAuth 2.0 configuration used for authType `OAUTH2`
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddscopesItem(String scopesItem) authorizeEndpoint(URI authorizeEndpoint) clientSecret(String clientSecret) booleanThe URL to the authorization server's authorization endpointThe OAuth 2.0 client identifierThe OAuth 2.0 client secretList of OAuth 2.0 scopesThe URL to the authorization server's token endpointinthashCode()voidsetAuthorizeEndpoint(URI authorizeEndpoint) voidsetClientId(String clientId) voidsetClientSecret(String clientSecret) voidvoidsetTokenEndpoint(URI tokenEndpoint) tokenEndpoint(URI tokenEndpoint) toString()
-
Field Details
-
JSON_PROPERTY_AUTHORIZE_ENDPOINT
- See Also:
-
JSON_PROPERTY_CLIENT_ID
- See Also:
-
JSON_PROPERTY_CLIENT_SECRET
- See Also:
-
JSON_PROPERTY_SCOPES
- See Also:
-
JSON_PROPERTY_TOKEN_ENDPOINT
- See Also:
-
-
Constructor Details
-
OAuth2Settings
public OAuth2Settings()
-
-
Method Details
-
authorizeEndpoint
-
getAuthorizeEndpoint
The URL to the authorization server's authorization endpoint- Returns:
- authorizeEndpoint
-
setAuthorizeEndpoint
-
clientId
-
getClientId
The OAuth 2.0 client identifier- Returns:
- clientId
-
setClientId
-
clientSecret
-
getClientSecret
The OAuth 2.0 client secret- Returns:
- clientSecret
-
setClientSecret
-
scopes
-
addscopesItem
-
getScopes
List of OAuth 2.0 scopes- Returns:
- scopes
-
setScopes
-
tokenEndpoint
-
getTokenEndpoint
The URL to the authorization server's token endpoint- Returns:
- tokenEndpoint
-
setTokenEndpoint
-
equals
-
hashCode
public int hashCode() -
toString
-