AuthenticationProvider
Interface for the authentication provider to be implemented by the application. This has the methods to handle the authentication process. This is used by AuthenticationProviderImpl
Functions
Authenticate the user with the selected authenticator.
Authenticate the user with the Email OTP authenticator, only if the Email OTP not added as a first factor authenticator. If the Email OTP is added as a first factor authenticator, use the authenticate method to authenticate the user.
Authenticate the user with the Github authenticator (Redirect).
Authenticate the user with the Google authenticator.
Authenticate the user with the Google authenticator using the legacy one tap method.
Authenticate the user with the Microsoft authenticator (Redirect).
Authenticate the user with the OpenID Connect authenticator.
Authenticate the user with the SMS OTP authenticator, only if the SMS OTP not added as a first factor authenticator. If the SMS OTP is added as a first factor authenticator, use the authenticate method to authenticate the user.
Authenticate the user with the TOTP token, only if the TOTP not added as a first factor authenticator. If the TOTP is added as a first factor authenticator, use the authenticate method to authenticate the user.
Authenticate the user with the username and password.
Get authentication state flow
Get the basic user information of the authenticated.
Handle the Google authentication result.
Initialize the authentication process. This method will initialize the authentication process and emit the state of the authentication process.
Check whether the user is logged in or not.
Handle the authentication flow initially to check whether the user is authenticated or not.
Select the authenticator to authenticate the user. This method will select the authenticator to authenticate the user and get the details of the selected authenticator.