Class OidcLogoutAuthenticationContext
java.lang.Object
org.springframework.security.oauth2.server.authorization.oidc.authentication.OidcLogoutAuthenticationContext
- All Implemented Interfaces:
OAuth2AuthenticationContext,Context
public final class OidcLogoutAuthenticationContext
extends Object
implements OAuth2AuthenticationContext
An
OAuth2AuthenticationContext that holds an
OidcLogoutAuthenticationToken and additional information and is used when
validating the OpenID Connect RP-Initiated Logout Request parameters.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder forOidcLogoutAuthenticationContext.Nested classes/interfaces inherited from interface org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthenticationContext
OAuth2AuthenticationContext.AbstractBuilder<T extends OAuth2AuthenticationContext,B extends OAuth2AuthenticationContext.AbstractBuilder<T, B>> -
Method Summary
Modifier and TypeMethodDescription<V> VReturns the value of the attribute associated to the key.Returns theregistered client.booleanReturnstrueif an attribute associated to the key exists,falseotherwise.with(OidcLogoutAuthenticationToken authentication) Constructs a newOidcLogoutAuthenticationContext.Builderwith the providedOidcLogoutAuthenticationToken.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.oauth2.server.authorization.context.Context
getMethods inherited from interface org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthenticationContext
getAuthentication
-
Method Details
-
get
Description copied from interface:ContextReturns the value of the attribute associated to the key. -
hasKey
Description copied from interface:ContextReturnstrueif an attribute associated to the key exists,falseotherwise. -
getRegisteredClient
Returns theregistered client.- Returns:
- the
RegisteredClient
-
with
public static OidcLogoutAuthenticationContext.Builder with(OidcLogoutAuthenticationToken authentication) Constructs a newOidcLogoutAuthenticationContext.Builderwith the providedOidcLogoutAuthenticationToken.- Parameters:
authentication- theOidcLogoutAuthenticationToken- Returns:
- the
OidcLogoutAuthenticationContext.Builder
-