Safe Haskell | None |
---|
- data AuthConfig = AuthConfig {
- authSessionName :: ByteString
- authSuccessPage :: ByteString
- authUrl :: Text
- authPrefix :: [Text]
- authReturnToPath :: [Text]
- authLogoutPath :: [Text]
- providers :: [(Text, Provider)]
- data Provider = Provider {
- providerUrl :: Text
- realm :: Maybe Text
- parameters :: [(Text, Text)]
- data Auth
- data OpenId_ a = OpenId_ {}
- type OpenId = OpenId_ Text
- withAuth :: Session -> AuthConfig -> (Auth -> IO a) -> IO a
- withAuthWith :: Session -> ManagerSettings -> AuthConfig -> (Auth -> IO a) -> IO a
- authHandler :: (Functor m, Monad m, Functor n, MonadIO n) => Auth -> ApiaryT c n m ()
- authorized :: Auth -> Apiary (Snoc as OpenId) a -> Apiary as a
- authLogout :: Monad m => Auth -> ActionT m ()
- authConfig :: Auth -> AuthConfig
- authProviders :: Auth -> [(Text, Provider)]
- authRoutes :: Auth -> [(Text, ByteString)]
- module Data.Default.Class
Documentation
data AuthConfig Source
AuthConfig | |
|
withAuthWith :: Session -> ManagerSettings -> AuthConfig -> (Auth -> IO a) -> IO aSource
filter
action
authLogout :: Monad m => Auth -> ActionT m ()Source
getter
authConfig :: Auth -> AuthConfigSource
authProviders :: Auth -> [(Text, Provider)]Source
authRoutes :: Auth -> [(Text, ByteString)]Source
reexport
module Data.Default.Class