CreateResponse Method

HttpServer.dll

Create a response that can be sent in the WWW-Authenticate header.

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

Syntax

C#
public abstract string CreateResponse(
	string realm,
	params Object[] options
)
Visual Basic (Declaration)
Public MustOverride Function CreateResponse ( _
	realm As String, _
	ParamArray options As Object() _
) As String
Visual C++
public:
virtual String^ CreateResponse(
	String^ realm, 
	... array<Object^>^ options
) abstract

Parameters

realm
Type: System..::.String
Realm that the user should authenticate in
options
Type: array< System..::.Object >[]()[]
Array with optional options.

Return Value

A correct auth request.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionIf realm is empty or null.

See Also