Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data OAuth2Settings u i e b Source #
IAuthBackend u i e b => OAuth2Settings | |
|
data AuthFailure e Source #
Action OAuth2ActionFailure |
Instances
Show e => Show (AuthFailure e) Source # | |
Defined in Snap.Snaplet.CustomAuth.Types showsPrec :: Int -> AuthFailure e -> ShowS # show :: AuthFailure e -> String # showList :: [AuthFailure e] -> ShowS # |
data OAuth2Failure Source #
Instances
Eq OAuth2Failure Source # | |
Defined in Snap.Snaplet.CustomAuth.Types (==) :: OAuth2Failure -> OAuth2Failure -> Bool # (/=) :: OAuth2Failure -> OAuth2Failure -> Bool # | |
Read OAuth2Failure Source # | |
Defined in Snap.Snaplet.CustomAuth.Types readsPrec :: Int -> ReadS OAuth2Failure # readList :: ReadS [OAuth2Failure] # | |
Show OAuth2Failure Source # | |
Defined in Snap.Snaplet.CustomAuth.Types showsPrec :: Int -> OAuth2Failure -> ShowS # show :: OAuth2Failure -> String # showList :: [OAuth2Failure] -> ShowS # |
data OAuth2Stage Source #
Instances
Eq OAuth2Stage Source # | |
Defined in Snap.Snaplet.CustomAuth.Types (==) :: OAuth2Stage -> OAuth2Stage -> Bool # (/=) :: OAuth2Stage -> OAuth2Stage -> Bool # | |
Read OAuth2Stage Source # | |
Defined in Snap.Snaplet.CustomAuth.Types readsPrec :: Int -> ReadS OAuth2Stage # readList :: ReadS [OAuth2Stage] # readPrec :: ReadPrec OAuth2Stage # readListPrec :: ReadPrec [OAuth2Stage] # | |
Show OAuth2Stage Source # | |
Defined in Snap.Snaplet.CustomAuth.Types showsPrec :: Int -> OAuth2Stage -> ShowS # show :: OAuth2Stage -> String # showList :: [OAuth2Stage] -> ShowS # |
addOAuth2Splices :: Snaplet (Heist b) -> SnapletLens b (AuthManager u e b) -> Initializer b v () Source #
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 #
redirectToProvider :: Text -> Handler b (AuthManager u e b) Bool Source #