C# Класс Plasma.AuthorizationManager

Наследование: Qyoto.QObject
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
AuthorizationManager ( Type dummy ) : System
CreateProxy ( ) : void

Приватные методы

Метод Описание
AuthorizationManager ( ) : System

Описание методов

AuthorizationManager() защищенный Метод

protected AuthorizationManager ( Type dummy ) : System
dummy System.Type
Результат System

CreateProxy() защищенный Метод

protected CreateProxy ( ) : void
Результат void

Self() публичный статический Метод

Singleton pattern accessor.
public static Self ( ) : AuthorizationManager
Результат AuthorizationManager

SetAuthorizationInterface() публичный Метод

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
Результат void

SetAuthorizationPolicy() публичный Метод

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
Результат void