C# Class Plasma.AuthorizationManager

Inheritance: Qyoto.QObject
Afficher le fichier Open project: 0xd34df00d/Qross

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
AuthorizationManager ( Type dummy ) : System
CreateProxy ( ) : void

Private Methods

Méthode Description
AuthorizationManager ( ) : System

Method Details

AuthorizationManager() protected méthode

protected AuthorizationManager ( Type dummy ) : System
dummy System.Type
Résultat System

CreateProxy() protected méthode

protected CreateProxy ( ) : void
Résultat void

Self() public static méthode

Singleton pattern accessor.
public static Self ( ) : AuthorizationManager
Résultat AuthorizationManager

SetAuthorizationInterface() public méthode

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
Résultat void

SetAuthorizationPolicy() public méthode

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
Résultat void