Enum Class AuthenticationMethod

java.lang.Object
java.lang.Enum<AuthenticationMethod>
io.micronaut.security.oauth2.endpoint.AuthenticationMethod
All Implemented Interfaces:
Serializable, Comparable<AuthenticationMethod>, Constable

@Deprecated(forRemoval=true) public enum AuthenticationMethod extends Enum<AuthenticationMethod>
Deprecated, for removal: This API element is subject to removal in a future version.
Use AuthenticationMethods constants instead.
Client Authentication methods that are used by Clients to authenticate to the Authorization Server when using the Token Endpoint.
Since:
1.2.0
Author:
Sergio del Amo
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • CLIENT_SECRET_POST

      public static final AuthenticationMethod CLIENT_SECRET_POST
      Deprecated, for removal: This API element is subject to removal in a future version.
    • CLIENT_SECRET_BASIC

      public static final AuthenticationMethod CLIENT_SECRET_BASIC
      Deprecated, for removal: This API element is subject to removal in a future version.
    • CLIENT_SECRET_JWT

      public static final AuthenticationMethod CLIENT_SECRET_JWT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • PRIVATE_KEY_JWT

      public static final AuthenticationMethod PRIVATE_KEY_JWT
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TLS_CLIENT_AUTH

      public static final AuthenticationMethod TLS_CLIENT_AUTH
      Deprecated, for removal: This API element is subject to removal in a future version.
    • NONE

      public static final AuthenticationMethod NONE
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • values

      public static AuthenticationMethod[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AuthenticationMethod valueOf(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Enum<AuthenticationMethod>
      Returns:
      The authentication method.