Enum ClientAuthType
- java.lang.Object
-
- java.lang.Enum<ClientAuthType>
-
- com.pingidentity.sdk.oauth20.registration.ClientAuthType
-
- All Implemented Interfaces:
Serializable,Comparable<ClientAuthType>
public enum ClientAuthType extends Enum<ClientAuthType>
An enum representing different OAuth 2.0 client authentication methods.- Since:
- 9.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description client_secret_basicHTTP Basic authentication with client secretclient_secret_jwtClient secret JWT authenticationclient_secret_postHTTP POST authentication with client secretnoneNone (no authentication)private_key_jwtPrivate key JWT authenticationtls_client_authTLS client certificate authentication
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.sourceid.oauth20.domain.ClientAuthenticationTypegetDomainClientAuthnType()Get the internal representation of the client authentication type.static ClientAuthTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ClientAuthType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
none
public static final ClientAuthType none
None (no authentication)
-
client_secret_basic
public static final ClientAuthType client_secret_basic
HTTP Basic authentication with client secret
-
client_secret_post
public static final ClientAuthType client_secret_post
HTTP POST authentication with client secret
-
tls_client_auth
public static final ClientAuthType tls_client_auth
TLS client certificate authentication
-
private_key_jwt
public static final ClientAuthType private_key_jwt
Private key JWT authentication
-
client_secret_jwt
public static final ClientAuthType client_secret_jwt
Client secret JWT authentication- Since:
- 11.3
-
-
Method Detail
-
values
public static ClientAuthType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClientAuthType c : ClientAuthType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientAuthType valueOf(String name)
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
-
getDomainClientAuthnType
public org.sourceid.oauth20.domain.ClientAuthenticationType getDomainClientAuthnType()
Get the internal representation of the client authentication type.- Returns:
- The internal representation of the client authentication type.
-
-