C# Class AllJoynUnity.AllJoyn.AuthListener

Inheritance: IDisposable
Exibir arquivo Open project: GameClay/alljoyn_unity

Private Properties

Property Type Description
_AuthenticationComplete void
_RequestCredentials int
_SecurityViolation void
_VerifyCredentials int
alljoyn_authlistener_create System.IntPtr
alljoyn_authlistener_destroy void

Public Methods

Method Description
AuthListener ( ) : System
Dispose ( ) : void

Protected Methods

Method Description
AuthenticationComplete ( string authMechanism, string peerName, bool success ) : void
Dispose ( bool disposing ) : void
RequestCredentials ( string authMechanism, string peerName, ushort authCount, string userName, Credentials credMask, Credentials credentials ) : bool
SecurityViolation ( QStatus status, Message msg ) : void
VerifyCredentials ( string authMechanism, string peerName, Credentials credentials ) : bool

Private Methods

Method Description
_AuthenticationComplete ( IntPtr context, IntPtr authMechanism, IntPtr peerName, int success ) : void
_RequestCredentials ( IntPtr context, IntPtr authMechanism, IntPtr peerName, ushort authCount, IntPtr userName, ushort credMask, IntPtr credentials ) : int
_SecurityViolation ( IntPtr context, int status, IntPtr msg ) : void
_VerifyCredentials ( IntPtr context, IntPtr authMechanism, IntPtr peerName, IntPtr credentials ) : int
alljoyn_authlistener_create ( IntPtr callbacks, IntPtr context ) : IntPtr
alljoyn_authlistener_destroy ( IntPtr listener ) : void

Method Details

AuthListener() public method

public AuthListener ( ) : System
return System

AuthenticationComplete() protected abstract method

protected abstract AuthenticationComplete ( string authMechanism, string peerName, bool success ) : void
authMechanism string
peerName string
success bool
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

RequestCredentials() protected abstract method

protected abstract RequestCredentials ( string authMechanism, string peerName, ushort authCount, string userName, Credentials credMask, Credentials credentials ) : bool
authMechanism string
peerName string
authCount ushort
userName string
credMask Credentials
credentials Credentials
return bool

SecurityViolation() protected method

protected SecurityViolation ( QStatus status, Message msg ) : void
status QStatus
msg Message
return void

VerifyCredentials() protected method

protected VerifyCredentials ( string authMechanism, string peerName, Credentials credentials ) : bool
authMechanism string
peerName string
credentials Credentials
return bool