Package com.mypurecloud.sdk.v2.model
Enum Class OAuthClientRequest.AuthorizedGrantTypeEnum
java.lang.Object
java.lang.Enum<OAuthClientRequest.AuthorizedGrantTypeEnum>
com.mypurecloud.sdk.v2.model.OAuthClientRequest.AuthorizedGrantTypeEnum
- All Implemented Interfaces:
Serializable,Comparable<OAuthClientRequest.AuthorizedGrantTypeEnum>,java.lang.constant.Constable
- Enclosing class:
- OAuthClientRequest
public static enum OAuthClientRequest.AuthorizedGrantTypeEnum
extends Enum<OAuthClientRequest.AuthorizedGrantTypeEnum>
The OAuth Grant/Client type supported by this client. Code Authorization Grant/Client type - Preferred client type where the Client ID and Secret are required to create tokens. Used where the secret can be secured. PKCE-Enabled Code Authorization grant type - Code grant type which requires PKCE challenge and verifier to create tokens. Used in public clients for increased security. Implicit grant type - Client ID only is required to create tokens. Used in browser and mobile apps where the secret can not be secured. SAML2-Bearer extension grant type - SAML2 assertion provider for user authentication at the token endpoint. Client Credential grant type - Used to created access tokens that are tied only to the client.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionfromString(String key) toString()Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OUTDATEDSDKVERSION
-
CODE
-
TOKEN
-
SAML2_BEARER
-
PASSWORD
-
CLIENT_CREDENTIALS
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
-
toString
- Overrides:
toStringin classEnum<OAuthClientRequest.AuthorizedGrantTypeEnum>
-