AuthenticationEventArgs Class
Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9083)
Provides data for Authentication event.
Syntax
public class AuthenticationEventArgs : AuthenticationBaseEventArgs
Inherited Members
Properties
Name | Description |
---|---|
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. |
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. |
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. |