Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

PreAuthenticationEventArgs Class

Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9147)

Provides data for Authentication event.

Syntax
public class PreAuthenticationEventArgs : AuthenticationBaseEventArgs
Inheritance
Object
EventArgs
AuthenticationBaseEventArgs
PreAuthenticationEventArgs
Inherited Members
AuthenticationBaseEventArgs.ClientAddress
AuthenticationBaseEventArgs.ClientEndPoint
AuthenticationBaseEventArgs.ClientSoftwareIdentifier
AuthenticationBaseEventArgs.Context
AuthenticationBaseEventArgs.ServerAddress
AuthenticationBaseEventArgs.ServerEndPoint
AuthenticationBaseEventArgs.Session
AuthenticationBaseEventArgs.UserName
AuthenticationBaseEventArgs.Users
EventArgs.Empty
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

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.

In This Article
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies