CheckAuthentication Method

HttpServer.dll

Used to invoke the auth delegate that is used to lookup the username/realm.

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

Syntax

C#
protected bool CheckAuthentication(
	string realm,
	string userName,
	ref string password,
	out Object login
)
Visual Basic (Declaration)
Protected Function CheckAuthentication ( _
	realm As String, _
	userName As String, _
	ByRef password As String, _
	<OutAttribute> ByRef login As Object _
) As Boolean
Visual C++
protected:
bool CheckAuthentication(
	String^ realm, 
	String^ userName, 
	String^% password, 
	[OutAttribute] Object^% login
)

Parameters

realm
Type: System..::.String
Realm (domain) that user want to authenticate in
userName
Type: System..::.String
Username
password
Type: System..::.String %
Password used for validation. Some implementations got password in clear text, they are then sent to client.
login
Type: System..::.Object %
object that will be stored in the request to help you identify the user if authentication was successful.

Return Value

true if authentication was successful

See Also