Interface IAuthenticatorCallback
- Assembly
- Diffusion.Client.dll
The single-use callback provided to the Authenticate(string, ICredentials, IReadOnlyDictionary<string, string>, IReadOnlyDictionary<string, string>, IAuthenticatorCallback) call.
public interface IAuthenticatorCallback
Methods
Abstain()
The authentication has neither passed nor failed.
void Abstain()
Allow()
Authentication passed - allow the authentication request with fixed properties as supplied but no user-defined properties.
void Allow()
Allow(IReadOnlyDictionary<string, string>)
Authentication passed - allow the authentication request with modifications to the session properties.
void Allow(IReadOnlyDictionary<string, string> properties)
Parameters
propertiesIReadOnlyDictionary<string, string>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.
void Deny()