public enum AuthorizationCredentialType extends Enum<AuthorizationCredentialType>
Enum Constant and Description |
---|
INITIAL_TOKEN
Regular access token issued by the Connect2id server (for some
OAuth 2.0 grant) for the purpose of initial registration.
|
MASTER_TOKEN
Master access token for the registration endpoint.
|
OPEN
For an initial registration received without an access token when
the Connect2id server is configured for open registration.
|
REGISTRATION_TOKEN
Access token issued to the client at the registration endpoint to
allow the client to update its own metadata.
|
Modifier and Type | Method and Description |
---|---|
static AuthorizationCredentialType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationCredentialType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationCredentialType MASTER_TOKEN
public static final AuthorizationCredentialType INITIAL_TOKEN
public static final AuthorizationCredentialType REGISTRATION_TOKEN
public static final AuthorizationCredentialType OPEN
public static AuthorizationCredentialType[] values()
for (AuthorizationCredentialType c : AuthorizationCredentialType.values()) System.out.println(c);
public static AuthorizationCredentialType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2021 Connect2id Ltd.. All rights reserved.