Enum Class AuthorizationCredentialType
java.lang.Object
java.lang.Enum<AuthorizationCredentialType>
com.nimbusds.openid.connect.provider.spi.reg.AuthorizationCredentialType
- All Implemented Interfaces:
Serializable
,Comparable<AuthorizationCredentialType>
,Constable
The type of authorisation credential used at the OAuth 2.0 client
registration endpoint, for an initial registration with POST or a
registration update with PUT.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRegular access token issued by the Connect2id server (for some OAuth 2.0 grant) for the purpose of initial registration.Master access token for the registration endpoint.For an initial registration received without an access token when the Connect2id server is configured for open registration.Access token issued to the client at the registration endpoint to allow the client to update its own metadata. -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthorizationCredentialType
Returns the enum constant of this class with the specified name.static AuthorizationCredentialType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MASTER_TOKEN
Master access token for the registration endpoint. -
INITIAL_TOKEN
Regular access token issued by the Connect2id server (for some OAuth 2.0 grant) for the purpose of initial registration. -
REGISTRATION_TOKEN
Access token issued to the client at the registration endpoint to allow the client to update its own metadata. -
OPEN
For an initial registration received without an access token when the Connect2id server is configured for open registration.
-
-
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
-