Class AuthenticationResult$
- java.lang.Object
-
- akka.http.scaladsl.server.directives.AuthenticationResult$
-
public class AuthenticationResult$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static AuthenticationResult$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description AuthenticationResult$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.util.Either<HttpChallenge,scala.runtime.Nothing$>
failWithChallenge(HttpChallenge challenge)
<T> scala.util.Either<HttpChallenge,T>
success(T user)
-
-
-
Field Detail
-
MODULE$
public static final AuthenticationResult$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
success
public <T> scala.util.Either<HttpChallenge,T> success(T user)
-
failWithChallenge
public scala.util.Either<HttpChallenge,scala.runtime.Nothing$> failWithChallenge(HttpChallenge challenge)
-
-