gi-webkit2-4.0.28: WebKit2 bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.WebKit2.Objects.SecurityManager

Description

No description available in the introspection data.

Synopsis

Exported types

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

Instances details
(GObject o, IsDescendantOf SecurityManager o) => IsSecurityManager o Source # 
Instance details

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

registerUriSchemeAsCorsEnabled

securityManagerRegisterUriSchemeAsCorsEnabled Source #

Arguments

:: (HasCallStack, MonadIO m, IsSecurityManager a) 
=> a

securityManager: a SecurityManager

-> Text

scheme: a URI scheme

-> 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 #

Arguments

:: (HasCallStack, MonadIO m, IsSecurityManager a) 
=> a

securityManager: a SecurityManager

-> Text

scheme: a URI scheme

-> 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 #

Arguments

:: (HasCallStack, MonadIO m, IsSecurityManager a) 
=> a

securityManager: a SecurityManager

-> Text

scheme: a URI scheme

-> m () 

Register scheme as an empty document scheme. This means that they are allowed to commit synchronously.

registerUriSchemeAsLocal

securityManagerRegisterUriSchemeAsLocal Source #

Arguments

:: (HasCallStack, MonadIO m, IsSecurityManager a) 
=> a

securityManager: a SecurityManager

-> Text

scheme: a URI scheme

-> 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 #

Arguments

:: (HasCallStack, MonadIO m, IsSecurityManager a) 
=> a

securityManager: a SecurityManager

-> Text

scheme: a URI scheme

-> 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 #

Arguments

:: (HasCallStack, MonadIO m, IsSecurityManager a) 
=> a

securityManager: a SecurityManager

-> Text

scheme: a URI scheme

-> 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 #

Arguments

:: (HasCallStack, MonadIO m, IsSecurityManager a) 
=> a

securityManager: a SecurityManager

-> Text

scheme: a URI scheme

-> m Bool

Returns: True if scheme is a CORS enabled scheme or False otherwise.

Whether scheme is considered as a CORS enabled scheme. See also securityManagerRegisterUriSchemeAsCorsEnabled.

uriSchemeIsDisplayIsolated

securityManagerUriSchemeIsDisplayIsolated Source #

Arguments

:: (HasCallStack, MonadIO m, IsSecurityManager a) 
=> a

securityManager: a SecurityManager

-> Text

scheme: a URI scheme

-> m Bool

Returns: True if scheme is a display isolated scheme or False otherwise.

Whether scheme is considered as a display isolated scheme. See also securityManagerRegisterUriSchemeAsDisplayIsolated.

uriSchemeIsEmptyDocument

securityManagerUriSchemeIsEmptyDocument Source #

Arguments

:: (HasCallStack, MonadIO m, IsSecurityManager a) 
=> a

securityManager: a SecurityManager

-> Text

scheme: a URI scheme

-> m Bool

Returns: True if scheme is an empty document scheme or False otherwise.

Whether scheme is considered as an empty document scheme. See also securityManagerRegisterUriSchemeAsEmptyDocument.

uriSchemeIsLocal

securityManagerUriSchemeIsLocal Source #

Arguments

:: (HasCallStack, MonadIO m, IsSecurityManager a) 
=> a

securityManager: a SecurityManager

-> Text

scheme: a URI scheme

-> m Bool

Returns: True if scheme is a local scheme or False otherwise.

Whether scheme is considered as a local scheme. See also securityManagerRegisterUriSchemeAsLocal.

uriSchemeIsNoAccess

securityManagerUriSchemeIsNoAccess Source #

Arguments

:: (HasCallStack, MonadIO m, IsSecurityManager a) 
=> a

securityManager: a SecurityManager

-> Text

scheme: a URI scheme

-> m Bool

Returns: True if scheme is a no-access scheme or False otherwise.

Whether scheme is considered as a no-access scheme. See also securityManagerRegisterUriSchemeAsNoAccess.

uriSchemeIsSecure

securityManagerUriSchemeIsSecure Source #

Arguments

:: (HasCallStack, MonadIO m, IsSecurityManager a) 
=> a

securityManager: a SecurityManager

-> Text

scheme: a URI scheme

-> m Bool

Returns: True if scheme is a secure scheme or False otherwise.

Whether scheme is considered as a secure scheme. See also securityManagerRegisterUriSchemeAsSecure.