Class OidcLogoutToken
java.lang.Object
org.springframework.security.oauth2.core.AbstractOAuth2Token
org.springframework.security.oauth2.client.oidc.authentication.logout.OidcLogoutToken
- All Implemented Interfaces:
Serializable,LogoutTokenClaimAccessor,ClaimAccessor,OAuth2Token
An implementation of an
AbstractOAuth2Token representing an OpenID Backchannel
Logout Token.
The OidcLogoutToken is a security token that contains "claims" about
terminating sessions for a given OIDC Provider session id or End User.
- Since:
- 6.2
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns a set of claims that may be used for assertions.static OidcLogoutToken.BuilderwithTokenValue(String tokenValue) Create aOidcLogoutToken.Builderbased on the given token valueMethods inherited from class org.springframework.security.oauth2.core.AbstractOAuth2Token
equals, getExpiresAt, getIssuedAt, getTokenValue, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.oauth2.core.ClaimAccessor
getClaim, getClaimAsBoolean, getClaimAsInstant, getClaimAsMap, getClaimAsString, getClaimAsStringList, getClaimAsURL, hasClaimMethods inherited from interface org.springframework.security.oauth2.client.oidc.authentication.logout.LogoutTokenClaimAccessor
getAudience, getEvents, getId, getIssuedAt, getIssuer, getSessionId, getSubject
-
Method Details
-
getClaims
Description copied from interface:ClaimAccessorReturns a set of claims that may be used for assertions.- Specified by:
getClaimsin interfaceClaimAccessor- Returns:
- a
Mapof claims
-
withTokenValue
Create aOidcLogoutToken.Builderbased on the given token value- Parameters:
tokenValue- the token value to use- Returns:
- the
OidcLogoutToken.Builderfor further configuration
-