Class OAuth2DeviceVerificationEndpointFilter

java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
org.springframework.security.oauth2.server.authorization.web.OAuth2DeviceVerificationEndpointFilter
All Implemented Interfaces:
jakarta.servlet.Filter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware, org.springframework.core.env.EnvironmentCapable, org.springframework.web.context.ServletContextAware

public final class OAuth2DeviceVerificationEndpointFilter extends org.springframework.web.filter.OncePerRequestFilter
A Filter for the OAuth 2.0 Device Authorization Grant, which handles the processing of the Device Verification Request (submission of the user code) and the Device Authorization Consent.
Since:
7.0
See Also:
  • Constructor Details

    • OAuth2DeviceVerificationEndpointFilter

      public OAuth2DeviceVerificationEndpointFilter(AuthenticationManager authenticationManager)
      Constructs an OAuth2DeviceVerificationEndpointFilter using the provided parameters.
      Parameters:
      authenticationManager - the authentication manager
    • OAuth2DeviceVerificationEndpointFilter

      public OAuth2DeviceVerificationEndpointFilter(AuthenticationManager authenticationManager, String deviceVerificationEndpointUri)
      Constructs an OAuth2DeviceVerificationEndpointFilter using the provided parameters.
      Parameters:
      authenticationManager - the authentication manager
      deviceVerificationEndpointUri - the endpoint URI for device verification requests
  • Method Details