public interface AuthenticationFailedRejection extends Rejection
pekko.http.javadsl.server.directives.SecurityDirectives.
 Signals that the request was rejected because the user could not be authenticated. The reason for the rejection is
 specified in the cause.| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | AuthenticationFailedRejection.CauseSignals the cause of the failed authentication. | 
| static interface  | AuthenticationFailedRejection.CredentialsMissingSignals the cause of the rejecting was that the user could not be authenticated, because the  WWW-Authenticateheader was not supplied. | 
| static interface  | AuthenticationFailedRejection.CredentialsRejectedSignals the cause of the rejecting was that the user could not be authenticated, because the supplied credentials
 are invalid. | 
| Modifier and Type | Method and Description | 
|---|---|
| AuthenticationFailedRejection.Cause | cause() | 
| HttpChallenge | challenge() | 
AuthenticationFailedRejection.Cause cause()
HttpChallenge challenge()