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.SerializableAccess Token Types.- See Also:
- Section 7.1 Access Token Types, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static OAuth2AccessToken.TokenTypeBEARER
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetValue()Returns the value of the token type.inthashCode()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-