Class OAuth2AccessToken.TokenType
- java.lang.Object
-
- org.springframework.security.oauth2.core.OAuth2AccessToken.TokenType
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- OAuth2AccessToken
public static final class OAuth2AccessToken.TokenType extends java.lang.Object implements java.io.Serializable
Access Token Types.- See Also:
- Section 7.1 Access Token Types, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static OAuth2AccessToken.TokenType
BEARER
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getValue()
Returns the value of the token type.int
hashCode()
-
-
-
Field Detail
-
BEARER
public static final OAuth2AccessToken.TokenType BEARER
-
-
Method Detail
-
getValue
public java.lang.String getValue()
Returns the value of the token type.- Returns:
- the value of the token type
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-