AuthenticationEventArgs Class
Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 8.0.9673)
Provides data for Authentication event.
Syntax
public class AuthenticationEventArgs : AuthenticationBaseEventArgs
Inherited Members
Properties
| Name | Description |
|---|---|
| Certificate | Gets the client certificate if available; or null reference. The certificate has been validated prior to raising the event. |
| 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. |
| CustomMessage | An optional custom message. Only used for FTP protocol. Used to specify a welcome message in case of acceptance; or details for rejection. |
| Key | Gets the user public key if available; or null reference. |
| PartiallyAccepted | Indicates whether a different kind of credential has already been partially accepted for this authentication session. |
| Password | Gets the password if available; or null reference. |
| 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. |
| Task | An optional task to be awaited. 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(ServerUser) | Accept the client as the specified user. |
| Accept(ServerUser, Object) | Accept the client as the specified user and assign the specified custom tag object. |
| AcceptPartially() | Accepts the supplied credential but request subsequent authentication using another kind of credential. |
| AcceptPartially(Object) | Accepts the supplied credential but request subsequent authentication using another kind of credential. |
| Reject() | Reject the client. |