Package com.vaadin.sso.core
Class OidcLogoutTokenValidator
java.lang.Object
com.vaadin.sso.core.OidcLogoutTokenValidator
- All Implemented Interfaces:
org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>
@Deprecated(since="3.1",
forRemoval=true)
public final class OidcLogoutTokenValidator
extends Object
implements org.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>
Deprecated, for removal: This API element is subject to removal in a future version.
Use built-in Spring Security support for OpenID Connect
Back-Channel Logout
An
OAuth2TokenValidator responsible for validating the claims in a
Logout Token.- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Constructor Summary
ConstructorsConstructorDescriptionOidcLogoutTokenValidator(org.springframework.security.oauth2.client.registration.ClientRegistration clientRegistration) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated, for removal: This API element is subject to removal in a future version.voidsetClockSkew(Duration clockSkew) Deprecated, for removal: This API element is subject to removal in a future version.Sets the maximum acceptable clock skew.org.springframework.security.oauth2.core.OAuth2TokenValidatorResultvalidate(org.springframework.security.oauth2.jwt.Jwt token) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
OidcLogoutTokenValidator
public OidcLogoutTokenValidator(org.springframework.security.oauth2.client.registration.ClientRegistration clientRegistration) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
validate
public org.springframework.security.oauth2.core.OAuth2TokenValidatorResult validate(org.springframework.security.oauth2.jwt.Jwt token) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
validatein interfaceorg.springframework.security.oauth2.core.OAuth2TokenValidator<org.springframework.security.oauth2.jwt.Jwt>
-
setClockSkew
Deprecated, for removal: This API element is subject to removal in a future version.Sets the maximum acceptable clock skew. The default is 60 seconds. The clock skew is used when validating theexpandiatclaims.- Parameters:
clockSkew- the maximum acceptable clock skew
-
setClock
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
clock- the clock
-