Class AuthenticationMethod

  • All Implemented Interfaces:
    java.io.Serializable

    public final class AuthenticationMethod
    extends java.lang.Object
    implements java.io.Serializable
    The authentication method used when sending bearer access tokens in resource requests to resource servers.
    Since:
    5.1
    See Also:
    Section 2 Authenticated Requests, Serialized Form
    • Constructor Detail

      • AuthenticationMethod

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

      • getValue

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object