AuthRequiredDelegate Delegate
From HttpServer.dll
Let's you decide on a system level if authentication is requried.
You can also decide if authentication is required in each HttpModule.
Namespace:
HttpServer.Authentication
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public delegate bool AuthRequiredDelegate( HttpRequest request ) |
| Visual Basic (Declaration) |
|---|
Public Delegate Function AuthRequiredDelegate ( _ request As HttpRequest _ ) As Boolean |
| Visual C++ |
|---|
public delegate bool AuthRequiredDelegate( HttpRequest^ request ) |
Parameters
- request
- Type: HttpServer..::.HttpRequest
Http request from client
Return Value
true if user should be authenticated.
Remarks
throw ForbiddenException if no more attempts are allowed.
Exceptions
| Exception | Condition |
|---|---|
| HttpServer.Exceptions..::.ForbiddenException | If no more attempts are allowed |