Enum ClientAuthType

    • 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 name
        NullPointerException - 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.