AuthenticationHandler Delegate

HttpServer.dll

Delegate used to let authentication modules authenticate the username and password.

Namespace:  HttpServer.Authentication
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public delegate void AuthenticationHandler(
	string realm,
	string userName,
	ref string password,
	out Object login
)
Visual Basic (Declaration)
Public Delegate Sub AuthenticationHandler ( _
	realm As String, _
	userName As String, _
	ByRef password As String, _
	<OutAttribute> ByRef login As Object _
)
Visual C++
public delegate void AuthenticationHandler(
	String^ realm, 
	String^ userName, 
	String^% password, 
	[OutAttribute] Object^% login
)

Parameters

realm
Type: System..::.String
Realm that the user want to authenticate in
userName
Type: System..::.String
Username specified by client
password
Type: System..::.String %
Password supplied by the delagete
login
Type: System..::.Object %
object that will be stored in a session variable called AuthenticationTag()()() if authentication was successful.

Exceptions

ExceptionCondition
HttpServer.Exceptions..::.ForbiddenExceptionthrow forbidden exception if too many attempts have been made.

See Also