snaplet-customauth-0.1.0: Alternate authentication snaplet

Safe HaskellNone
LanguageHaskell98

Snap.Snaplet.CustomAuth.OAuth2

Documentation

data AuthFailure e Source #

Constructors

Action OAuth2ActionFailure 

Instances

oauth2Init :: IAuthBackend u i e b => OAuth2Settings u i e b -> Initializer b (AuthManager u e b) (HashMap Text Provider) Source #

saveAction :: (IAuthBackend u i e b, Binary a) => Bool -> Text -> a -> Handler b (AuthManager u e b) () Source #