SecuredRequestHandler

tsec.authentication.SecuredRequestHandler
See theSecuredRequestHandler companion object
sealed abstract class SecuredRequestHandler[F[_], Identity, User, Auth](val authenticator: Authenticator[F, Identity, User, Auth])(implicit F: MonadError[F, Throwable], ME: MonadError[[_] =>> Kleisli[[_] =>> OptionT[F, _$2], Request[F], _$3], Throwable])

Attributes

Companion
object
Source
SecuredRequestHandler.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def liftService(service: TSecAuthService[User, Auth, F], onNotAuthenticated: Request[F] => F[Response[F]]): HttpRoutes[F]

Lift an Authenticated Service into an HttpRoutes *

Lift an Authenticated Service into an HttpRoutes *

Attributes

Source
SecuredRequestHandler.scala
def liftUserAware(service: UserAwareService[User, Auth, F]): HttpRoutes[F]

Attributes

Source
SecuredRequestHandler.scala
def liftWithFallthrough(service: TSecAuthService[User, Auth, F], onNotAuthenticated: Request[F] => F[Response[F]]): HttpRoutes[F]

Attributes

Source
SecuredRequestHandler.scala

Concrete fields

val authenticator: Authenticator[F, Identity, User, Auth]

Attributes

Source
SecuredRequestHandler.scala