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:
-
OAuth2TokenClaimAccessor
OAuth2TokenClaimNames
OAuth2Token
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OAuth2TokenClaimsSet.Builder
builder()
Returns a newOAuth2TokenClaimsSet.Builder
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.security.oauth2.core.ClaimAccessor
getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, hasClaim
Methods inherited from interface org.springframework.security.oauth2.server.authorization.token.OAuth2TokenClaimAccessor
getAudience, getExpiresAt, getId, getIssuedAt, getIssuer, getNotBefore, getSubject
-
Method Details
-
getClaims
- Specified by:
getClaims
in interfaceorg.springframework.security.oauth2.core.ClaimAccessor
-
builder
Returns a newOAuth2TokenClaimsSet.Builder
.- Returns:
- the
OAuth2TokenClaimsSet.Builder
-