public final class AuthenticationFailedRejection extends java.lang.Object implements AuthenticationFailedRejection, Rejection, scala.Product, java.io.Serializable
pekko.http.scaladsl.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 | Class and Description | 
|---|---|
| static interface  | AuthenticationFailedRejection.CauseSignals the cause of the failed authentication. | 
| static class  | AuthenticationFailedRejection.CredentialsMissing$Signals the cause of the rejecting was that the user could not be authenticated, because the  WWW-Authenticateheader was not supplied. | 
| static class  | AuthenticationFailedRejection.CredentialsRejected$Signals the cause of the rejecting was that the user could not be authenticated, because the supplied credentials
 are invalid. | 
AuthenticationFailedRejection.CredentialsMissing, AuthenticationFailedRejection.CredentialsRejected| Constructor and Description | 
|---|
| AuthenticationFailedRejection(AuthenticationFailedRejection.Cause cause,
                             HttpChallenge challenge) | 
| Modifier and Type | Method and Description | 
|---|---|
| AuthenticationFailedRejection.Cause | cause() | 
| HttpChallenge | challenge() | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic AuthenticationFailedRejection(AuthenticationFailedRejection.Cause cause, HttpChallenge challenge)
public AuthenticationFailedRejection.Cause cause()
cause in interface AuthenticationFailedRejectionpublic HttpChallenge challenge()
challenge in interface AuthenticationFailedRejection