Interface LogoutTokenClaimAccessor
- All Superinterfaces:
org.springframework.security.oauth2.core.ClaimAccessor
- All Known Implementing Classes:
OidcLogoutToken
public interface LogoutTokenClaimAccessor
extends org.springframework.security.oauth2.core.ClaimAccessor
A
ClaimAccessor for the "claims" that can be returned in OIDC Logout
Tokens- Since:
- 6.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Audience(s)(aud)that this ID Token is intended for.Returns aMapthat identifies this token as a logout tokendefault StringgetId()Returns the JWT ID(jti)claim which provides a unique identifier for the JWT.default @Nullable InstantReturns the time at which the ID Token was issued(iat).default URLReturns the Issuer identifier(iss).default @Nullable StringReturns aStringvalue(sid)representing the OIDC Provider sessiondefault @Nullable StringReturns the Subject identifier(sub).Methods inherited from interface org.springframework.security.oauth2.core.ClaimAccessor
getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, getClaims, hasClaim
-
Method Details
-
getIssuer
-
getSubject
Returns the Subject identifier(sub).- Returns:
- the Subject identifier
-
getAudience
-
getIssuedAt
Returns the time at which the ID Token was issued(iat).- Returns:
- the time at which the ID Token was issued
-
getEvents
-
getSessionId
Returns aStringvalue(sid)representing the OIDC Provider session- Returns:
- the value representing the OIDC Provider session
-
getId
Returns the JWT ID(jti)claim which provides a unique identifier for the JWT.- Returns:
- the JWT ID claim which provides a unique identifier for the JWT
-