Module one.jpro.platform.auth.core
Interface AuthenticationProvider<T extends Credentials>
- All Known Implementing Classes:
BasicAuthenticationProvider,CombineAuthenticationProvider,GoogleAuthenticationProvider,JWTAuthenticationProvider,KeycloakAuthenticationProvider,MicrosoftAuthenticationProvider,OAuth2AuthenticationProvider,OpenIDAuthenticationProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Defines an authentication provider.
-
Method Summary
Modifier and TypeMethodDescriptionauthenticate(T credentials) Authenticate a user with the given credentials.
-
Method Details
-
authenticate
Authenticate a user with the given credentials.- Parameters:
credentials- aCredentialsobject containing the information for authenticating the user.- Returns:
- the result future
-