Class FailedAuthenticationScenario
java.lang.Object
io.micronaut.security.testutils.authprovider.FailedAuthenticationScenario
Failed Authentication Scenario.
-
Constructor Summary
ConstructorDescriptionFailedAuthenticationScenario
(@NonNull String username, @NonNull AuthenticationFailureReason reason) -
Method Summary
-
Constructor Details
-
FailedAuthenticationScenario
public FailedAuthenticationScenario(@NonNull @NonNull String username, @NonNull @NonNull AuthenticationFailureReason reason) - Parameters:
username
- usernamereason
- reason for failure
-
-
Method Details
-
getUsername
- Returns:
- username
-
getReason
- Returns:
- Failure reason
-