C# Class Plasma.AuthorizationManager

Inheritance: Qyoto.QObject
Mostra file Open project: 0xd34df00d/Qross

Public Methods

Method Description
Self ( ) : AuthorizationManager Singleton pattern accessor.
SetAuthorizationInterface ( Plasma arg1 ) : void Register an implementation of AuthorizationInterface. Use this to make your shell handle authorization requests. This can only be set once to avoid that malicious plugins can change this.
SetAuthorizationPolicy ( Plasma policy ) : void Set a policy used for authorizing incoming connections. You can either use one of the included policies, Default is to deny all incoming connections. This can only be set once to avoid that malicious plugins can change this. This means that you should ALWAYS call this function in any plasma shell, even if you like to use the default DenyAll policy.

Protected Methods

Method Description
AuthorizationManager ( Type dummy ) : System
CreateProxy ( ) : void

Private Methods

Method Description
AuthorizationManager ( ) : System

Method Details

AuthorizationManager() protected method

protected AuthorizationManager ( Type dummy ) : System
dummy System.Type
return System

CreateProxy() protected method

protected CreateProxy ( ) : void
return void

Self() public static method

Singleton pattern accessor.
public static Self ( ) : AuthorizationManager
return AuthorizationManager

SetAuthorizationInterface() public method

Register an implementation of AuthorizationInterface. Use this to make your shell handle authorization requests. This can only be set once to avoid that malicious plugins can change this.
public SetAuthorizationInterface ( Plasma arg1 ) : void
arg1 Plasma
return void

SetAuthorizationPolicy() public method

Set a policy used for authorizing incoming connections. You can either use one of the included policies, Default is to deny all incoming connections. This can only be set once to avoid that malicious plugins can change this. This means that you should ALWAYS call this function in any plasma shell, even if you like to use the default DenyAll policy.
public SetAuthorizationPolicy ( Plasma policy ) : void
policy Plasma
return void