Safe Haskell | None |
---|---|
Language | Haskell2010 |
Web.Eved.Auth
Documentation
auth :: (Eved api m, EvedAuth api, Applicative f) => NonEmpty (f (AuthScheme a)) -> f (api b) -> f (api (a -> b)) Source #
class EvedAuth api where Source #
Methods
auth_ :: NonEmpty (AuthScheme a) -> api b -> api (a -> b) Source #
Instances
EvedAuth EvedClient Source # | |
Defined in Web.Eved.Auth Methods auth_ :: NonEmpty (AuthScheme a) -> EvedClient b -> EvedClient (a -> b) Source # | |
EvedAuth (EvedServerT m) Source # | |
Defined in Web.Eved.Auth Methods auth_ :: NonEmpty (AuthScheme a) -> EvedServerT m b -> EvedServerT m (a -> b) Source # |
data AuthResult a Source #
Constructors
AuthSuccess a | |
AuthFailure Text | |
AuthNeeded |
data AuthScheme a Source #
Constructors
AuthScheme | |
Fields
|
Constructors
BasicAuth | |
Fields |