public interface OAuth2TokenClaimAccessor
extends org.springframework.security.oauth2.core.ClaimAccessor
ClaimAccessor for the "claims" that may be contained in an OAuth2TokenClaimsSet.ClaimAccessor,
OAuth2TokenClaimNames,
OAuth2TokenClaimsSet| Modifier and Type | Method and Description |
|---|---|
default java.util.List<java.lang.String> |
getAudience()
Returns the Audience
(aud) claim which identifies the recipient(s) that the OAuth 2.0 Token is intended for. |
default java.time.Instant |
getExpiresAt()
Returns the Expiration time
(exp) claim which identifies the expiration time on or after
which the OAuth 2.0 Token MUST NOT be accepted for processing. |
default java.lang.String |
getId()
Returns the ID
(jti) claim which provides a unique identifier for the OAuth 2.0 Token. |
default java.time.Instant |
getIssuedAt()
Returns the Issued at
(iat) claim which identifies the time at which the OAuth 2.0 Token was issued. |
default java.net.URL |
getIssuer()
Returns the Issuer
(iss) claim which identifies the principal that issued the OAuth 2.0 Token. |
default java.time.Instant |
getNotBefore()
Returns the Not Before
(nbf) claim which identifies the time before
which the OAuth 2.0 Token MUST NOT be accepted for processing. |
default java.lang.String |
getSubject()
Returns the Subject
(sub) claim which identifies the principal that is the subject of the OAuth 2.0 Token. |
default java.net.URL getIssuer()
(iss) claim which identifies the principal that issued the OAuth 2.0 Token.default java.lang.String getSubject()
(sub) claim which identifies the principal that is the subject of the OAuth 2.0 Token.default java.util.List<java.lang.String> getAudience()
(aud) claim which identifies the recipient(s) that the OAuth 2.0 Token is intended for.default java.time.Instant getExpiresAt()
(exp) claim which identifies the expiration time on or after
which the OAuth 2.0 Token MUST NOT be accepted for processing.default java.time.Instant getNotBefore()
(nbf) claim which identifies the time before
which the OAuth 2.0 Token MUST NOT be accepted for processing.default java.time.Instant getIssuedAt()
(iat) claim which identifies the time at which the OAuth 2.0 Token was issued.default java.lang.String getId()
(jti) claim which provides a unique identifier for the OAuth 2.0 Token.