public class MsalUserCredentialVerifier extends Object implements UserCredentialVerifier
| Constructor and Description |
|---|
MsalUserCredentialVerifier(com.microsoft.aad.msal4j.PublicClientApplication publicClientApplication,
AzureApiUriResolver endpointDataProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkUserCredential(String username,
PasswordCredential userCredential)
Checks whether the user with the provided username can authenticate against Azure AD with provided credential.
|
public MsalUserCredentialVerifier(com.microsoft.aad.msal4j.PublicClientApplication publicClientApplication,
AzureApiUriResolver endpointDataProvider)
public void checkUserCredential(String username, PasswordCredential userCredential) throws InvalidAuthenticationException, OperationFailedException
UserCredentialVerifiercheckUserCredential in interface UserCredentialVerifierusername - username to authenticate the useruserCredential - credential to authenticate the userInvalidAuthenticationException - if the authentication details provided are not valid, or if the user does not existOperationFailedException - if the underlying implementation failed to execute the operationCopyright © 2024 Atlassian. All rights reserved.