Class AuthenticationFailedRejection
java.lang.Object
org.apache.pekko.http.scaladsl.server.AuthenticationFailedRejection
- All Implemented Interfaces:
- Serializable,- AuthenticationFailedRejection,- Rejection,- Rejection,- scala.Equals,- scala.Product
public final class AuthenticationFailedRejection
extends Object
implements AuthenticationFailedRejection, Rejection, scala.Product, Serializable
Rejection created by the various 
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.- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceSignals the cause of the failed authentication.static classSignals the cause of the rejecting was that the user could not be authenticated, because theWWW-Authenticateheader was not supplied.static classSignals the cause of the rejecting was that the user could not be authenticated, because the supplied credentials are invalid.Nested classes/interfaces inherited from interface org.apache.pekko.http.javadsl.server.AuthenticationFailedRejectionAuthenticationFailedRejection.CredentialsMissing, AuthenticationFailedRejection.CredentialsRejected
- 
Constructor SummaryConstructorsConstructorDescriptionAuthenticationFailedRejection(AuthenticationFailedRejection.Cause cause, HttpChallenge challenge) 
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefix
- 
Constructor Details- 
AuthenticationFailedRejectionpublic AuthenticationFailedRejection(AuthenticationFailedRejection.Cause cause, HttpChallenge challenge) 
 
- 
- 
Method Details- 
cause- Specified by:
- causein interface- AuthenticationFailedRejection
 
- 
challenge- Specified by:
- challengein interface- AuthenticationFailedRejection
 
 
-