Interface LogoutTokenClaimAccessor
- All Superinterfaces:
ClaimAccessor
- All Known Implementing Classes:
OidcLogoutToken
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 aMap
that identifies this token as a logout tokendefault String
getId()
Returns the JWT ID(jti)
claim which provides a unique identifier for the JWT.default Instant
Returns the time at which the ID Token was issued(iat)
.default URL
Returns the Issuer identifier(iss)
.default String
Returns aString
value(sid)
representing the OIDC Provider sessiondefault String
Returns 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 aMap
that identifies this token as a logout token- Returns:
- the identifying
Map
-
getSessionId
Returns aString
value(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
-