Class JwtClaimsSet
java.lang.Object
org.springframework.security.oauth2.jwt.JwtClaimsSet
- All Implemented Interfaces:
- org.springframework.security.oauth2.core.ClaimAccessor,- JwtClaimAccessor
The 
JWT Claims Set is a JSON object representing the claims conveyed by a
 JSON Web Token.- Since:
- 5.6
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionstatic JwtClaimsSet.Builderbuilder()Returns a newJwtClaimsSet.Builder.static JwtClaimsSet.Builderfrom(JwtClaimsSet claims) Returns a newJwtClaimsSet.Builder, initialized with the providedclaims.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.oauth2.core.ClaimAccessorgetClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, hasClaimMethods inherited from interface org.springframework.security.oauth2.jwt.JwtClaimAccessorgetAudience, getExpiresAt, getId, getIssuedAt, getIssuer, getNotBefore, getSubject
- 
Method Details- 
getClaims- Specified by:
- getClaimsin interface- org.springframework.security.oauth2.core.ClaimAccessor
 
- 
builderReturns a newJwtClaimsSet.Builder.- Returns:
- the JwtClaimsSet.Builder
 
- 
fromReturns a newJwtClaimsSet.Builder, initialized with the providedclaims.- Parameters:
- claims- a JWT claims set
- Returns:
- the JwtClaimsSet.Builder
 
 
-