PreAuthenticationEventArgs Class
Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9083)
Provides data for Authentication event.
Syntax
public class PreAuthenticationEventArgs : AuthenticationBaseEventArgs
Inherited Members
Properties
Name | Description |
---|---|
AcceptedMethods | Indicates which methods were accepted by the event handler. |
AllowedMethods | Indicates which methods are allowed to be used. |
ClientAddress | Gets the client's IP address. Inherited from AuthenticationBaseEventArgs. |
ClientEndPoint | Gets the client-side endpoint of the client's connection. Inherited from AuthenticationBaseEventArgs. |
ClientSoftwareIdentifier | Gets identifier of the client software. Inherited from AuthenticationBaseEventArgs. |
Context | An optional custom object representing the session context. Inherited from AuthenticationBaseEventArgs. |
ServerAddress | Gets the server-side IP address of the client's connection. Inherited from AuthenticationBaseEventArgs. |
ServerEndPoint | Gets the server-side endpoint of the client's connection. Inherited from AuthenticationBaseEventArgs. |
Session | Gets server session. Inherited from AuthenticationBaseEventArgs. |
UserName | Gets the user name of the client trying to authenticate. Inherited from AuthenticationBaseEventArgs. |
Users | Returns Users collection on the server authenticating the request. Inherited from AuthenticationBaseEventArgs. |
Methods
Name | Description |
---|---|
Accept(AuthenticationMethods) | Accept authentication request for this user and allow the specified authentication methods. |
Accept(AuthenticationMethods, Object) | Accept authentication request for this user and allow the specified authentication methods. |
Accept(AuthenticationMethods[]) | Accept authentication request for this user and allow the specified authentication methods. |
AcceptWithoutAuthentication(ServerUser) | Accept the client as the specified user without further authentication (!). |
AcceptWithoutAuthentication(ServerUser, Object) | Accept the client as the specified user without further authentication (!) and assign the specified custom tag object. |
Reject() | Reject authentication request for this user. |