Interface UserCredentialVerifier
- All Known Implementing Classes:
MsalUserCredentialVerifier
public interface UserCredentialVerifier
Responsible for verifying users credentials
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkUserCredential
(String username, PasswordCredential userCredential) Checks whether the user with the provided username can authenticate against Microsoft Entra ID with provided credential.
-
Method Details
-
checkUserCredential
void checkUserCredential(String username, PasswordCredential userCredential) throws InvalidAuthenticationException, OperationFailedException Checks whether the user with the provided username can authenticate against Microsoft Entra ID with provided credential.- Parameters:
username
- username to authenticate the useruserCredential
- credential to authenticate the user- Throws:
InvalidAuthenticationException
- if the authentication details provided are not valid, or if the user does not existOperationFailedException
- if the underlying implementation failed to execute the operation
-