Class ClientSecretAuthenticationProvider

java.lang.Object
org.springframework.security.oauth2.server.authorization.authentication.ClientSecretAuthenticationProvider
All Implemented Interfaces:
AuthenticationProvider

public final class ClientSecretAuthenticationProvider extends Object implements AuthenticationProvider
An AuthenticationProvider implementation used for OAuth 2.0 Client Authentication, which authenticates the client_secret parameter.
Since:
7.0
See Also:
  • Constructor Details

    • ClientSecretAuthenticationProvider

      public ClientSecretAuthenticationProvider(RegisteredClientRepository registeredClientRepository, OAuth2AuthorizationService authorizationService)
      Constructs a ClientSecretAuthenticationProvider using the provided parameters.
      Parameters:
      registeredClientRepository - the repository of registered clients
      authorizationService - the authorization service
  • Method Details