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 InstantReturns the time at which the ID Token was issued(iat).default URLReturns the Issuer identifier(iss).default StringReturns aStringvalue(sid)representing the OIDC Provider sessiondefault 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
Returns the Issuer identifier(iss).- Returns:
- the Issuer identifier
-
getSubject
Returns the Subject identifier(sub).- Returns:
- the Subject identifier
-
getAudience
Returns the Audience(s)(aud)that this ID Token is intended for.- Returns:
- the Audience(s) that this ID Token is intended for
-
getIssuedAt
Returns the time at which the ID Token was issued(iat).- Returns:
- the time at which the ID Token was issued
-
getEvents
Returns aMapthat identifies this token as a logout token- Returns:
- the identifying
Map
-
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
-