Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Exported types
- Methods
- registerUriSchemeAsCorsEnabled
- registerUriSchemeAsDisplayIsolated
- registerUriSchemeAsEmptyDocument
- registerUriSchemeAsLocal
- registerUriSchemeAsNoAccess
- registerUriSchemeAsSecure
- uriSchemeIsCorsEnabled
- uriSchemeIsDisplayIsolated
- uriSchemeIsEmptyDocument
- uriSchemeIsLocal
- uriSchemeIsNoAccess
- uriSchemeIsSecure
No description available in the introspection data.
Synopsis
- newtype SecurityManager = SecurityManager (ManagedPtr SecurityManager)
- class (GObject o, IsDescendantOf SecurityManager o) => IsSecurityManager o
- toSecurityManager :: (MonadIO m, IsSecurityManager o) => o -> m SecurityManager
- securityManagerRegisterUriSchemeAsCorsEnabled :: (HasCallStack, MonadIO m, IsSecurityManager a) => a -> Text -> m ()
- securityManagerRegisterUriSchemeAsDisplayIsolated :: (HasCallStack, MonadIO m, IsSecurityManager a) => a -> Text -> m ()
- securityManagerRegisterUriSchemeAsEmptyDocument :: (HasCallStack, MonadIO m, IsSecurityManager a) => a -> Text -> m ()
- securityManagerRegisterUriSchemeAsLocal :: (HasCallStack, MonadIO m, IsSecurityManager a) => a -> Text -> m ()
- securityManagerRegisterUriSchemeAsNoAccess :: (HasCallStack, MonadIO m, IsSecurityManager a) => a -> Text -> m ()
- securityManagerRegisterUriSchemeAsSecure :: (HasCallStack, MonadIO m, IsSecurityManager a) => a -> Text -> m ()
- securityManagerUriSchemeIsCorsEnabled :: (HasCallStack, MonadIO m, IsSecurityManager a) => a -> Text -> m Bool
- securityManagerUriSchemeIsDisplayIsolated :: (HasCallStack, MonadIO m, IsSecurityManager a) => a -> Text -> m Bool
- securityManagerUriSchemeIsEmptyDocument :: (HasCallStack, MonadIO m, IsSecurityManager a) => a -> Text -> m Bool
- securityManagerUriSchemeIsLocal :: (HasCallStack, MonadIO m, IsSecurityManager a) => a -> Text -> m Bool
- securityManagerUriSchemeIsNoAccess :: (HasCallStack, MonadIO m, IsSecurityManager a) => a -> Text -> m Bool
- securityManagerUriSchemeIsSecure :: (HasCallStack, MonadIO m, IsSecurityManager a) => a -> Text -> m Bool
Exported types
newtype SecurityManager Source #
Memory-managed wrapper type.
Instances
Eq SecurityManager Source # | |
Defined in GI.WebKit2.Objects.SecurityManager (==) :: SecurityManager -> SecurityManager -> Bool # (/=) :: SecurityManager -> SecurityManager -> Bool # | |
GObject SecurityManager Source # | |
Defined in GI.WebKit2.Objects.SecurityManager | |
ManagedPtrNewtype SecurityManager Source # | |
Defined in GI.WebKit2.Objects.SecurityManager | |
TypedObject SecurityManager Source # | |
Defined in GI.WebKit2.Objects.SecurityManager | |
HasParentTypes SecurityManager Source # | |
Defined in GI.WebKit2.Objects.SecurityManager | |
IsGValue (Maybe SecurityManager) Source # | Convert |
Defined in GI.WebKit2.Objects.SecurityManager gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SecurityManager -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SecurityManager) # | |
type ParentTypes SecurityManager Source # | |
Defined in GI.WebKit2.Objects.SecurityManager |
class (GObject o, IsDescendantOf SecurityManager o) => IsSecurityManager o Source #
Type class for types which can be safely cast to SecurityManager
, for instance with toSecurityManager
.
Instances
(GObject o, IsDescendantOf SecurityManager o) => IsSecurityManager o Source # | |
Defined in GI.WebKit2.Objects.SecurityManager |
toSecurityManager :: (MonadIO m, IsSecurityManager o) => o -> m SecurityManager Source #
Cast to SecurityManager
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, registerUriSchemeAsCorsEnabled, registerUriSchemeAsDisplayIsolated, registerUriSchemeAsEmptyDocument, registerUriSchemeAsLocal, registerUriSchemeAsNoAccess, registerUriSchemeAsSecure, runDispose, stealData, stealQdata, thawNotify, unref, uriSchemeIsCorsEnabled, uriSchemeIsDisplayIsolated, uriSchemeIsEmptyDocument, uriSchemeIsLocal, uriSchemeIsNoAccess, uriSchemeIsSecure, watchClosure.
Getters
getData, getProperty, getQdata.
Setters
registerUriSchemeAsCorsEnabled
securityManagerRegisterUriSchemeAsCorsEnabled Source #
:: (HasCallStack, MonadIO m, IsSecurityManager a) | |
=> a |
|
-> Text |
|
-> m () |
Register scheme
as a CORS (Cross-origin resource sharing) enabled scheme.
This means that CORS requests are allowed. See W3C CORS specification
http://www.w3.org/TR/cors/.
registerUriSchemeAsDisplayIsolated
securityManagerRegisterUriSchemeAsDisplayIsolated Source #
:: (HasCallStack, MonadIO m, IsSecurityManager a) | |
=> a |
|
-> Text |
|
-> m () |
Register scheme
as a display isolated scheme. This means that pages cannot
display these URIs unless they are from the same scheme.
registerUriSchemeAsEmptyDocument
securityManagerRegisterUriSchemeAsEmptyDocument Source #
:: (HasCallStack, MonadIO m, IsSecurityManager a) | |
=> a |
|
-> Text |
|
-> m () |
Register scheme
as an empty document scheme. This means that
they are allowed to commit synchronously.
registerUriSchemeAsLocal
securityManagerRegisterUriSchemeAsLocal Source #
:: (HasCallStack, MonadIO m, IsSecurityManager a) | |
=> a |
|
-> Text |
|
-> m () |
Register scheme
as a local scheme. This means that other non-local pages
cannot link to or access URIs of this scheme.
registerUriSchemeAsNoAccess
securityManagerRegisterUriSchemeAsNoAccess Source #
:: (HasCallStack, MonadIO m, IsSecurityManager a) | |
=> a |
|
-> Text |
|
-> m () |
Register scheme
as a no-access scheme. This means that pages loaded
with this URI scheme cannot access pages loaded with any other URI scheme.
registerUriSchemeAsSecure
securityManagerRegisterUriSchemeAsSecure Source #
:: (HasCallStack, MonadIO m, IsSecurityManager a) | |
=> a |
|
-> Text |
|
-> m () |
Register scheme
as a secure scheme. This means that mixed
content warnings won't be generated for this scheme when
included by an HTTPS page.
uriSchemeIsCorsEnabled
securityManagerUriSchemeIsCorsEnabled Source #
:: (HasCallStack, MonadIO m, IsSecurityManager a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: |
Whether scheme
is considered as a CORS enabled scheme.
See also securityManagerRegisterUriSchemeAsCorsEnabled
.
uriSchemeIsDisplayIsolated
securityManagerUriSchemeIsDisplayIsolated Source #
:: (HasCallStack, MonadIO m, IsSecurityManager a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: |
Whether scheme
is considered as a display isolated scheme.
See also securityManagerRegisterUriSchemeAsDisplayIsolated
.
uriSchemeIsEmptyDocument
securityManagerUriSchemeIsEmptyDocument Source #
:: (HasCallStack, MonadIO m, IsSecurityManager a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: |
Whether scheme
is considered as an empty document scheme.
See also securityManagerRegisterUriSchemeAsEmptyDocument
.
uriSchemeIsLocal
securityManagerUriSchemeIsLocal Source #
:: (HasCallStack, MonadIO m, IsSecurityManager a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: |
Whether scheme
is considered as a local scheme.
See also securityManagerRegisterUriSchemeAsLocal
.
uriSchemeIsNoAccess
securityManagerUriSchemeIsNoAccess Source #
:: (HasCallStack, MonadIO m, IsSecurityManager a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: |
Whether scheme
is considered as a no-access scheme.
See also securityManagerRegisterUriSchemeAsNoAccess
.
uriSchemeIsSecure
securityManagerUriSchemeIsSecure Source #
:: (HasCallStack, MonadIO m, IsSecurityManager a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: |
Whether scheme
is considered as a secure scheme.
See also securityManagerRegisterUriSchemeAsSecure
.