Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype Auth = Auth (ForeignPtr Auth)
- class GObject o => AuthK o
- toAuth :: AuthK o => o -> IO Auth
- noAuth :: Maybe Auth
- data AuthAuthenticateMethodInfo
- authAuthenticate :: (MonadIO m, AuthK a) => a -> Text -> Text -> m ()
- data AuthGetAuthorizationMethodInfo
- authGetAuthorization :: (MonadIO m, AuthK a, MessageK b) => a -> b -> m Text
- data AuthGetHostMethodInfo
- authGetHost :: (MonadIO m, AuthK a) => a -> m Text
- data AuthGetInfoMethodInfo
- authGetInfo :: (MonadIO m, AuthK a) => a -> m Text
- data AuthGetProtectionSpaceMethodInfo
- authGetProtectionSpace :: (MonadIO m, AuthK a) => a -> URI -> m [Text]
- data AuthGetRealmMethodInfo
- authGetRealm :: (MonadIO m, AuthK a) => a -> m Text
- data AuthGetSavedPasswordMethodInfo
- authGetSavedPassword :: (MonadIO m, AuthK a) => a -> Text -> m Text
- data AuthGetSavedUsersMethodInfo
- authGetSavedUsers :: (MonadIO m, AuthK a) => a -> m [Text]
- data AuthGetSchemeNameMethodInfo
- authGetSchemeName :: (MonadIO m, AuthK a) => a -> m Text
- data AuthHasSavedPasswordMethodInfo
- authHasSavedPassword :: (MonadIO m, AuthK a) => a -> Text -> Text -> m ()
- data AuthIsAuthenticatedMethodInfo
- authIsAuthenticated :: (MonadIO m, AuthK a) => a -> m Bool
- data AuthIsForProxyMethodInfo
- authIsForProxy :: (MonadIO m, AuthK a) => a -> m Bool
- data AuthIsReadyMethodInfo
- authIsReady :: (MonadIO m, AuthK a, MessageK b) => a -> b -> m Bool
- authNew :: (MonadIO m, MessageK a) => GType -> a -> Text -> m (Maybe Auth)
- data AuthSavePasswordMethodInfo
- authSavePassword :: (MonadIO m, AuthK a) => a -> Text -> Text -> m ()
- data AuthUpdateMethodInfo
- authUpdate :: (MonadIO m, AuthK a, MessageK b) => a -> b -> Text -> m Bool
- data AuthHostPropertyInfo
- authHost :: AttrLabelProxy "host"
- clearAuthHost :: (MonadIO m, AuthK o) => o -> m ()
- constructAuthHost :: Text -> IO ([Char], GValue)
- getAuthHost :: (MonadIO m, AuthK o) => o -> m Text
- setAuthHost :: (MonadIO m, AuthK o) => o -> Text -> m ()
- data AuthIsAuthenticatedPropertyInfo
- getAuthIsAuthenticated :: (MonadIO m, AuthK o) => o -> m Bool
- data AuthIsForProxyPropertyInfo
- constructAuthIsForProxy :: Bool -> IO ([Char], GValue)
- getAuthIsForProxy :: (MonadIO m, AuthK o) => o -> m Bool
- setAuthIsForProxy :: (MonadIO m, AuthK o) => o -> Bool -> m ()
- data AuthRealmPropertyInfo
- authRealm :: AttrLabelProxy "realm"
- clearAuthRealm :: (MonadIO m, AuthK o) => o -> m ()
- constructAuthRealm :: Text -> IO ([Char], GValue)
- getAuthRealm :: (MonadIO m, AuthK o) => o -> m Text
- setAuthRealm :: (MonadIO m, AuthK o) => o -> Text -> m ()
- data AuthSchemeNamePropertyInfo
- authSchemeName :: AttrLabelProxy "schemeName"
- getAuthSchemeName :: (MonadIO m, AuthK o) => o -> m Text
Exported types
GObject Auth | |
((~) * info (ResolveAuthMethod t Auth), MethodInfo * info Auth p) => IsLabelProxy t (Auth -> p) | |
type ParentTypes Auth | |
type AttributeList Auth | |
type SignalList Auth |
Methods
authAuthenticate
data AuthAuthenticateMethodInfo Source
((~) * signature (Text -> Text -> m ()), MonadIO m, AuthK a) => MethodInfo * AuthAuthenticateMethodInfo a signature |
authGetAuthorization
data AuthGetAuthorizationMethodInfo Source
((~) * signature (b -> m Text), MonadIO m, AuthK a, MessageK b) => MethodInfo * AuthGetAuthorizationMethodInfo a signature |
authGetHost
data AuthGetHostMethodInfo Source
((~) * signature (m Text), MonadIO m, AuthK a) => MethodInfo * AuthGetHostMethodInfo a signature |
authGetHost :: (MonadIO m, AuthK a) => a -> m Text Source
authGetInfo
data AuthGetInfoMethodInfo Source
((~) * signature (m Text), MonadIO m, AuthK a) => MethodInfo * AuthGetInfoMethodInfo a signature |
authGetInfo :: (MonadIO m, AuthK a) => a -> m Text Source
authGetProtectionSpace
data AuthGetProtectionSpaceMethodInfo Source
((~) * signature (URI -> m [Text]), MonadIO m, AuthK a) => MethodInfo * AuthGetProtectionSpaceMethodInfo a signature |
authGetRealm
data AuthGetRealmMethodInfo Source
((~) * signature (m Text), MonadIO m, AuthK a) => MethodInfo * AuthGetRealmMethodInfo a signature |
authGetRealm :: (MonadIO m, AuthK a) => a -> m Text Source
authGetSavedPassword
data AuthGetSavedPasswordMethodInfo Source
((~) * signature (Text -> m Text), MonadIO m, AuthK a) => MethodInfo * AuthGetSavedPasswordMethodInfo a signature |
authGetSavedUsers
data AuthGetSavedUsersMethodInfo Source
((~) * signature (m [Text]), MonadIO m, AuthK a) => MethodInfo * AuthGetSavedUsersMethodInfo a signature |
authGetSavedUsers :: (MonadIO m, AuthK a) => a -> m [Text] Source
authGetSchemeName
data AuthGetSchemeNameMethodInfo Source
((~) * signature (m Text), MonadIO m, AuthK a) => MethodInfo * AuthGetSchemeNameMethodInfo a signature |
authGetSchemeName :: (MonadIO m, AuthK a) => a -> m Text Source
authHasSavedPassword
data AuthHasSavedPasswordMethodInfo Source
((~) * signature (Text -> Text -> m ()), MonadIO m, AuthK a) => MethodInfo * AuthHasSavedPasswordMethodInfo a signature |
authIsAuthenticated
data AuthIsAuthenticatedMethodInfo Source
((~) * signature (m Bool), MonadIO m, AuthK a) => MethodInfo * AuthIsAuthenticatedMethodInfo a signature |
authIsAuthenticated :: (MonadIO m, AuthK a) => a -> m Bool Source
authIsForProxy
data AuthIsForProxyMethodInfo Source
((~) * signature (m Bool), MonadIO m, AuthK a) => MethodInfo * AuthIsForProxyMethodInfo a signature |
authIsForProxy :: (MonadIO m, AuthK a) => a -> m Bool Source
authIsReady
data AuthIsReadyMethodInfo Source
((~) * signature (b -> m Bool), MonadIO m, AuthK a, MessageK b) => MethodInfo * AuthIsReadyMethodInfo a signature |
authNew
authSavePassword
data AuthSavePasswordMethodInfo Source
((~) * signature (Text -> Text -> m ()), MonadIO m, AuthK a) => MethodInfo * AuthSavePasswordMethodInfo a signature |
authUpdate
data AuthUpdateMethodInfo Source
((~) * signature (b -> Text -> m Bool), MonadIO m, AuthK a, MessageK b) => MethodInfo * AuthUpdateMethodInfo a signature |
Properties
Host
data AuthHostPropertyInfo Source
AttrInfo AuthHostPropertyInfo | |
type AttrLabel AuthHostPropertyInfo = "host" | |
type AttrGetType AuthHostPropertyInfo = Text | |
type AttrBaseTypeConstraint AuthHostPropertyInfo = AuthK | |
type AttrSetTypeConstraint AuthHostPropertyInfo = * ~ Text | |
type AttrAllowedOps AuthHostPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
authHost :: AttrLabelProxy "host" Source
clearAuthHost :: (MonadIO m, AuthK o) => o -> m () Source
getAuthHost :: (MonadIO m, AuthK o) => o -> m Text Source
setAuthHost :: (MonadIO m, AuthK o) => o -> Text -> m () Source
IsAuthenticated
data AuthIsAuthenticatedPropertyInfo Source
AttrInfo AuthIsAuthenticatedPropertyInfo | |
type AttrLabel AuthIsAuthenticatedPropertyInfo = "is-authenticated" | |
type AttrGetType AuthIsAuthenticatedPropertyInfo = Bool | |
type AttrBaseTypeConstraint AuthIsAuthenticatedPropertyInfo = AuthK | |
type AttrSetTypeConstraint AuthIsAuthenticatedPropertyInfo = * ~ () | |
type AttrAllowedOps AuthIsAuthenticatedPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getAuthIsAuthenticated :: (MonadIO m, AuthK o) => o -> m Bool Source
IsForProxy
data AuthIsForProxyPropertyInfo Source
AttrInfo AuthIsForProxyPropertyInfo | |
type AttrLabel AuthIsForProxyPropertyInfo = "is-for-proxy" | |
type AttrGetType AuthIsForProxyPropertyInfo = Bool | |
type AttrBaseTypeConstraint AuthIsForProxyPropertyInfo = AuthK | |
type AttrSetTypeConstraint AuthIsForProxyPropertyInfo = * ~ Bool | |
type AttrAllowedOps AuthIsForProxyPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getAuthIsForProxy :: (MonadIO m, AuthK o) => o -> m Bool Source
setAuthIsForProxy :: (MonadIO m, AuthK o) => o -> Bool -> m () Source
Realm
data AuthRealmPropertyInfo Source
AttrInfo AuthRealmPropertyInfo | |
type AttrLabel AuthRealmPropertyInfo = "realm" | |
type AttrGetType AuthRealmPropertyInfo = Text | |
type AttrBaseTypeConstraint AuthRealmPropertyInfo = AuthK | |
type AttrSetTypeConstraint AuthRealmPropertyInfo = * ~ Text | |
type AttrAllowedOps AuthRealmPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
authRealm :: AttrLabelProxy "realm" Source
clearAuthRealm :: (MonadIO m, AuthK o) => o -> m () Source
getAuthRealm :: (MonadIO m, AuthK o) => o -> m Text Source
setAuthRealm :: (MonadIO m, AuthK o) => o -> Text -> m () Source
SchemeName
data AuthSchemeNamePropertyInfo Source
AttrInfo AuthSchemeNamePropertyInfo | |
type AttrLabel AuthSchemeNamePropertyInfo = "scheme-name" | |
type AttrGetType AuthSchemeNamePropertyInfo = Text | |
type AttrBaseTypeConstraint AuthSchemeNamePropertyInfo = AuthK | |
type AttrSetTypeConstraint AuthSchemeNamePropertyInfo = * ~ () | |
type AttrAllowedOps AuthSchemeNamePropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)) |
authSchemeName :: AttrLabelProxy "schemeName" Source
getAuthSchemeName :: (MonadIO m, AuthK o) => o -> m Text Source