Interface IAuthenticatorCallback

The single-use callback provided to the Authenticate(String, ICredentials, IReadOnlyDictionary<String, String>, IReadOnlyDictionary<String, String>, IAuthenticatorCallback) call.

Namespace: PushTechnology.ClientInterface.Client.Security.Authentication
Assembly: Diffusion.Client.dll
Syntax
public interface IAuthenticatorCallback

Methods

Abstain()

The authentication has neither passed nor failed.

Declaration
void Abstain()

Allow()

Authentication passed - allow the authentication request with fixed properties as supplied but no user-defined properties.

Declaration
void Allow()

Allow(IReadOnlyDictionary<String, String>)

Authentication passed - allow the authentication request with modifications to the session properties.

Declaration
void Allow(IReadOnlyDictionary<string, string> properties)
Parameters
Type Name Description
IReadOnlyDictionary<System.String, System.String> properties

The properties.

Remarks

properties can include all allowed user-defined session properties, as well as a subset of fixed session properties see Authenticate(String, ICredentials, IReadOnlyDictionary<String, String>, IReadOnlyDictionary<String, String>, IAuthenticatorCallback).

Deny()

Authentication failed - deny the authentication request.

Declaration
void Deny()
Back to top