AuthedRoutes
Attributes
- Source
- AuthedRoutes.scala
- Graph
-
- Supertypes
- Self type
-
AuthedRoutes.type
Members list
Value members
Concrete methods
Lifts a function into an AuthedRoutes. The application of run
is suspended in F
to permit more efficient combination of routes via SemigroupK
.
Lifts a function into an AuthedRoutes. The application of run
is suspended in F
to permit more efficient combination of routes via SemigroupK
.
Type parameters
- F
-
the effect of the AuthedRoutes
- T
-
the type of the auth info in the AuthedRequest accepted by the AuthedRoutes
Value parameters
- run
-
the function to lift
Attributes
- Returns
-
an AuthedRoutes that wraps
run
- Source
- AuthedRoutes.scala
The empty service (all requests fallthrough).
The empty service (all requests fallthrough).
Type parameters
- T
-
- ignored.
Attributes
- Source
- AuthedRoutes.scala
Lifts a partial function into an AuthedRoutes. The application of the partial function is suspended in F
to permit more efficient combination of authed services via SemigroupK
.
Lifts a partial function into an AuthedRoutes. The application of the partial function is suspended in F
to permit more efficient combination of authed services via SemigroupK
.
Type parameters
- F
-
the base effect of the AuthedRoutes
Value parameters
- pf
-
the partial function to lift
Attributes
- Returns
-
An AuthedRoutes that returns some Response in an
OptionT[F, *]
whereverpf
is defined, anOptionT.none
wherever it is not - Source
- AuthedRoutes.scala