The PreAuthenticationEventArgs type exposes the following members.
Methods
Name | Description | |
---|---|---|
Accept(AuthenticationMethods) |
Accept authentication request for this user and allow the specified authentication methods.
| |
Accept(array<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.
| |
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.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Reject |
Reject authentication request for this user.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
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.) | |
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.) |