java.lang.Object
org.springframework.security.oauth2.server.authorization.OAuth2TokenType
All Implemented Interfaces:
Serializable

public final class OAuth2TokenType extends Object implements Serializable
Standard token types defined in the OAuth Token Type Hints Registry.
Since:
0.0.1
See Also:
  • Field Details

  • Constructor Details

    • OAuth2TokenType

      public OAuth2TokenType(String value)
      Constructs an OAuth2TokenType using the provided value.
      Parameters:
      value - the value of the token type
  • Method Details

    • getValue

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

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

      public int hashCode()
      Overrides:
      hashCode in class Object