







Determines if authentication is required.
Namespace:
HttpServer.Authentication
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public bool AuthenticationRequired( HttpRequest request ) |
Visual Basic (Declaration) |
---|
Public Function AuthenticationRequired ( _ request As HttpRequest _ ) As Boolean |
Visual C++ |
---|
public: bool AuthenticationRequired( HttpRequest^ request ) |
Parameters
- request
- Type: HttpServer..::.HttpRequest
Http request from browser
Return Value
true if user should be authenticated.
Remarks
throw ForbiddenException from your delegate if no more attempts are allowed.
Exceptions
Exception | Condition |
---|---|
HttpServer.Exceptions..::.ForbiddenException | If no more attempts are allowed |