Class OAuth2TokenClaimsSet
java.lang.Object
org.springframework.security.oauth2.server.authorization.token.OAuth2TokenClaimsSet
- All Implemented Interfaces:
org.springframework.security.oauth2.core.ClaimAccessor,OAuth2TokenClaimAccessor
A representation of a set of claims that are associated to an
OAuth2Token.- Since:
- 0.2.3
- See Also:
-
OAuth2TokenClaimAccessorOAuth2TokenClaimNamesOAuth2Token
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic OAuth2TokenClaimsSet.Builderbuilder()Returns a newOAuth2TokenClaimsSet.Builder.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.oauth2.core.ClaimAccessor
getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, hasClaimMethods inherited from interface org.springframework.security.oauth2.server.authorization.token.OAuth2TokenClaimAccessor
getAudience, getExpiresAt, getId, getIssuedAt, getIssuer, getNotBefore, getSubject
-
Method Details
-
getClaims
- Specified by:
getClaimsin interfaceorg.springframework.security.oauth2.core.ClaimAccessor
-
builder
Returns a newOAuth2TokenClaimsSet.Builder.- Returns:
- the
OAuth2TokenClaimsSet.Builder
-