@Generated public enum CredentialType extends Enum<CredentialType>
| Enum Constant and Description |
|---|
BEARER_TOKEN |
OAUTH_ACCESS_TOKEN |
OAUTH_M2M |
OAUTH_REFRESH_TOKEN |
OAUTH_RESOURCE_OWNER_PASSWORD |
OAUTH_U2M |
OAUTH_U2M_MAPPING |
OIDC_TOKEN |
PEM_PRIVATE_KEY |
SERVICE_CREDENTIAL |
UNKNOWN_CREDENTIAL_TYPE |
USERNAME_PASSWORD |
| Modifier and Type | Method and Description |
|---|---|
static CredentialType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CredentialType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CredentialType BEARER_TOKEN
public static final CredentialType OAUTH_ACCESS_TOKEN
public static final CredentialType OAUTH_M2M
public static final CredentialType OAUTH_REFRESH_TOKEN
public static final CredentialType OAUTH_RESOURCE_OWNER_PASSWORD
public static final CredentialType OAUTH_U2M
public static final CredentialType OAUTH_U2M_MAPPING
public static final CredentialType OIDC_TOKEN
public static final CredentialType PEM_PRIVATE_KEY
public static final CredentialType SERVICE_CREDENTIAL
public static final CredentialType UNKNOWN_CREDENTIAL_TYPE
public static final CredentialType USERNAME_PASSWORD
public static CredentialType[] values()
for (CredentialType c : CredentialType.values()) System.out.println(c);
public static CredentialType 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 © 2025. All rights reserved.