Enum ClientAssertionType

    • Enum Constant Detail

      • JWT_BEARER

        public static final ClientAssertionType JWT_BEARER

        The client assertion type used by the client_secret_jwt client authentication method and the private_key_jwt client authentication method.


        public static final ClientAssertionType JWT_CLIENT_ATTESTATION

        The client assertion type used by the attest_jwt_client_auth client authentication method.

    • Method Detail

      • values

        public static ClientAssertionType[] 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 (ClientAssertionType c : ClientAssertionType.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ClientAssertionType 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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public short getValue()
        Get the integer representation of this enum instance.
      • getByValue

        public static ClientAssertionType getByValue​(short value)
        Find an instance of this enum by a value.
        value - The integer representation of the instance to find.
        An instance of this enum, or null if not found.
      • parse

        public static ClientAssertionType parse​(String type)
        Convert String to ClientAssertionType.
        type - A client assertion type. For example, "urn:ietf:params:oauth:client-assertion-type:jwt-bearer".
        ClientAssertionType instance, or null.