Class OAuth2AuthorizationResponseType

  • All Implemented Interfaces:
    java.io.Serializable

    public final class OAuth2AuthorizationResponseType
    extends java.lang.Object
    implements java.io.Serializable
    The response_type parameter is consumed by the authorization endpoint which is used by the authorization code grant type and implicit 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 one of "code" for requesting an authorization code or "token" for requesting an access token (implicit grant).

    Since:
    5.0
    See Also:
    Section 3.1.1 Response Type, Serialized Form
    • Constructor Detail

      • OAuth2AuthorizationResponseType

        public OAuth2AuthorizationResponseType​(java.lang.String value)
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Returns the value of the authorization response type.
        Returns:
        the value of the authorization response 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