Class AuthenticationMethod

java.lang.Object
org.springframework.security.oauth2.core.AuthenticationMethod
All Implemented Interfaces:
Serializable

public final class AuthenticationMethod extends Object implements Serializable
The authentication method used when sending bearer access tokens in resource requests to resource servers.
Since:
5.1
See Also:
  • Field Details

  • Constructor Details

    • AuthenticationMethod

      public AuthenticationMethod(String value)
      Constructs an AuthenticationMethod using the provided value.
      Parameters:
      value - the value of the authentication method type
  • Method Details

    • getValue

      public String getValue()
      Returns the value of the authentication method type.
      Returns:
      the value of the authentication method type
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object