C# 클래스 Plasma.AuthorizationManager

상속: Qyoto.QObject
파일 보기 프로젝트 열기: 0xd34df00d/Qross

공개 메소드들

메소드 설명
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