snaplet-customauth-0.2.1: Alternate authentication snaplet
Safe HaskellNone
LanguageHaskell2010

Snap.Snaplet.CustomAuth.OAuth2

Documentation

data AuthFailure e Source #

Constructors

Action OAuth2ActionFailure 

Instances

Instances details
Show e => Show (AuthFailure e) Source # 
Instance details

Defined in Snap.Snaplet.CustomAuth.Types

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 #