Class OAuth2AuthorizationResponseType

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

public final class OAuth2AuthorizationResponseType extends Object implements Serializable
The response_type parameter is consumed by the authorization endpoint which is used by the authorization code grant type. The client sets the response_type parameter with the desired grant type before initiating the authorization request.

The response_type parameter value may be "code" for requesting an authorization code.

Since:
5.0
See Also:
  • Field Details

  • Constructor Details

    • OAuth2AuthorizationResponseType

      public OAuth2AuthorizationResponseType(String value)
  • Method Details

    • getValue

      public String getValue()
      Returns the value of the authorization response type.
      Returns:
      the value of the authorization response type
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object