public interface UserCredentialVerifier
| 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.
|
void checkUserCredential(String username, PasswordCredential userCredential) throws InvalidAuthenticationException, OperationFailedException
username - 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 © 2018 Atlassian. All rights reserved.