Class AuthenticationResult$
java.lang.Object
org.apache.pekko.http.scaladsl.server.directives.AuthenticationResult$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AuthenticationResult$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionscala.util.Either<HttpChallenge,scala.runtime.Nothing$> failWithChallenge(HttpChallenge challenge) <T> scala.util.Either<HttpChallenge,T> success(T user)
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
AuthenticationResult$
public AuthenticationResult$()
-
-
Method Details
-
success
-
failWithChallenge
public scala.util.Either<HttpChallenge,scala.runtime.Nothing$> failWithChallenge(HttpChallenge challenge)
-