Module
Conveyor.AuthHandler
- Package
- purescript-conveyor
- Repository
- oreshinya/purescript-conveyor
#AuthContenxt Source
newtype AuthContenxt a ex
Constructors
AuthContenxt { authTarget :: a, extraData :: ex, rawData :: RawData }
Instances
MonadAsk (AuthContenxt a ex) (AuthHandler a ex)
#AuthHandler Source
newtype AuthHandler a ex b
Instances
Functor (AuthHandler a ex)
Apply (AuthHandler a ex)
Applicative (AuthHandler a ex)
Alt (AuthHandler a ex)
Plus (AuthHandler a ex)
Bind (AuthHandler a ex)
Monad (AuthHandler a ex)
(Semigroup b) => Semigroup (AuthHandler a ex b)
(Monoid b) => Semigroup (AuthHandler a ex b)
MonadEffect (AuthHandler a ex)
MonadAff (AuthHandler a ex)
MonadThrow Error (AuthHandler a ex)
MonadError Error (AuthHandler a ex)
MonadAsk (AuthContenxt a ex) (AuthHandler a ex)
MonadRec (AuthHandler a ex)
#askExtra Source
askExtra :: forall ex a. AuthHandler a ex ex
#askRaw Source
askRaw :: forall ex a. AuthHandler a ex RawData
#askAuthTarget Source
askAuthTarget :: forall ex a. AuthHandler a ex a
#runAuthHandler Source
runAuthHandler :: forall b ex a. AuthHandler a ex b -> AuthContenxt a ex -> Aff b