Enum AadAuthorizationGrantType
java.lang.Object
java.lang.Enum<AadAuthorizationGrantType>
com.azure.spring.cloud.autoconfigure.aad.properties.AadAuthorizationGrantType
- All Implemented Interfaces:
Serializable
,Comparable<AadAuthorizationGrantType>
,java.lang.constant.Constable
Deprecated.
Defines grant types: client_credentials, authorization_code, on_behalf_of, azure_delegated.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Authorization codeDeprecated.Azure delegatedDeprecated.Client credentialsDeprecated.On behalf of -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Deprecated.Gets the string representation of the enum.boolean
isSameGrantType
(org.springframework.security.oauth2.core.AuthorizationGrantType grantType) Deprecated.Whether the other grant type is the same as the Azure AD grant type.static AadAuthorizationGrantType
Deprecated.Returns the enum constant of this type with the specified name.static AadAuthorizationGrantType[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CLIENT_CREDENTIALS
Deprecated.Client credentials -
AUTHORIZATION_CODE
Deprecated.Authorization code -
ON_BEHALF_OF
Deprecated.On behalf of -
AZURE_DELEGATED
Deprecated.Azure delegated
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
Deprecated.Gets the string representation of the enum.- Returns:
- the string representation of the enum
-
isSameGrantType
public boolean isSameGrantType(org.springframework.security.oauth2.core.AuthorizationGrantType grantType) Deprecated.Whether the other grant type is the same as the Azure AD grant type.- Parameters:
grantType
- the other grant type- Returns:
- whether the other grant type is the same as the Azure AD grant type
-
AuthorizationGrantType
instead.