Package com.okta.sdk.resource.model
Class ProtocolOAuth
java.lang.Object
com.okta.sdk.resource.model.ProtocolOAuth
- 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 ProtocolOAuth
extends Object
implements Serializable
Protocol settings for authentication using the [OAuth 2.0 Authorization Code
flow](https://tools.ietf.org/html/rfc6749#section-4.1)
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
OAuth 2.0 Authorization Code flow -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddscopesItem
(String scopesItem) credentials
(OAuthCredentials credentials) endpoints
(OAuthEndpoints endpoints) boolean
Get credentialsGet endpointsIdP-defined permission bundles to request delegated access from the User > **Note:** The [Identity Provider type](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/IdentityProvider/#tag/IdentityProvider/operation/createIdentityProvider!path=type&t=request) table lists the scopes that are supported for each Identity Provider.getType()
OAuth 2.0 Authorization Code flowint
hashCode()
void
setCredentials
(OAuthCredentials credentials) void
setEndpoints
(OAuthEndpoints endpoints) void
void
toString()
type
(ProtocolOAuth.TypeEnum type)
-
Field Details
-
JSON_PROPERTY_CREDENTIALS
- See Also:
-
JSON_PROPERTY_ENDPOINTS
- See Also:
-
JSON_PROPERTY_SCOPES
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ProtocolOAuth
public ProtocolOAuth()
-
-
Method Details
-
credentials
-
getCredentials
Get credentials- Returns:
- credentials
-
setCredentials
-
endpoints
-
getEndpoints
Get endpoints- Returns:
- endpoints
-
setEndpoints
-
scopes
-
addscopesItem
-
getScopes
IdP-defined permission bundles to request delegated access from the User > **Note:** The [Identity Provider type](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/IdentityProvider/#tag/IdentityProvider/operation/createIdentityProvider!path=type&t=request) table lists the scopes that are supported for each Identity Provider.- Returns:
- scopes
-
setScopes
-
type
-
getType
OAuth 2.0 Authorization Code flow- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-