Method CreateUnauthorizedResponse
CreateUnauthorizedResponse(string)
Creates an empty HTTP response with the WWW-Authenticate header and an custom realm message.
public HttpResponse CreateUnauthorizedResponse(string realm)
Parameters
realm
stringDefines the realm message to send back to the client.
Returns
CreateUnauthorizedResponse()
Creates an empty HTTP response with the WWW-Authenticate header and with the realm message defined in this class instance.
public HttpResponse CreateUnauthorizedResponse()