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,org.springframework.security.oauth2.core.ClaimAccessor,org.springframework.security.oauth2.core.OAuth2Token
public class OidcLogoutToken
extends org.springframework.security.oauth2.core.AbstractOAuth2Token
implements LogoutTokenClaimAccessor
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:
-
AbstractOAuth2TokenLogoutTokenClaimAccessor- Logout Token
- Serialized Form
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
- Specified by:
getClaimsin interfaceorg.springframework.security.oauth2.core.ClaimAccessor
-
withTokenValue
Create aOidcLogoutToken.Builderbased on the given token value- Parameters:
tokenValue- the token value to use- Returns:
- the
OidcLogoutToken.Builderfor further configuration
-