PreAuthenticationEventArgs.Accept Method
Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9083)
Accept(AuthenticationMethods)
Accept authentication request for this user and allow the specified authentication methods.
Declaration
public void Accept(AuthenticationMethods methods)
Parameters
Type | Name | Description |
---|---|---|
AuthenticationMethods | methods | Accepted authentication methods. |
Accept(AuthenticationMethods, Object)
Accept authentication request for this user and allow the specified authentication methods.
Declaration
public void Accept(AuthenticationMethods methods, object context)
Parameters
Type | Name | Description |
---|---|---|
AuthenticationMethods | methods | Accepted authentication methods. |
Object | context | An optional custom object representing session context. |
Accept(AuthenticationMethods[])
Accept authentication request for this user and allow the specified authentication methods.
Declaration
public void Accept(params AuthenticationMethods[] methods)
Parameters
Type | Name | Description |
---|---|---|
AuthenticationMethods[] | methods | Accepted authentication methods. |