Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- How to get support?
- Technical information
- Fast notifications interface
- Error list
AuthenticationType property
Determines type of authentication supported by the server.
Type
WebAuthenticationTypes enumerationSyntax
- Basic
object.AuthenticationType [= value]
The AuthenticationType(object,value) syntax has these parts:
The AuthenticationType(object,value) syntax has these parts:
object | An expression evaluating to an object of type wodWebServer |
value | WebAuthenticationTypes enumeration |
Remarks
This property defines type wodWebServer required (and supported) to authenticate clients. You can set this property to any of WebAuthenticationTypes values, or their combination (such as AuthBasic + AuthNTLM).If you set Authentication property to AuthRequired, client then *must* provide his credentials to access resources on your server. Failing to do so will cause 'Forbidden' response to be returned to him automatically - you will not even receive RequestDone event.
When client tries to authenticate, UserAuthenticate event will fire where you must set Action argument to Accept or Deny. If you set it to Deny then wodWebServer will automatically redirect response to 'Forbidden' response. When set to Allow, wodWebServer will proceed as usual - firing RequestDone event to handle and send response.