Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- How to get support?
- Technical information
- Fast notifications interface
- Error list
Authentication property
Determines if authentication is required to access the server.
Type
WebAuthentications enumerationSyntax
- Basic
object.Authentication [= value]
The Authentication(object,value) syntax has these parts:
The Authentication(object,value) syntax has these parts:
object | An expression evaluating to an object of type wodWebServer |
value | WebAuthentications enumeration |
Remarks
This property defines if wodWebServer requires client authorization to be performed before he can actually access resources on the server. When set to AuthRequired, wodWebServer will check if authorization headers exist (or, if AuthenticationType property is set to AuthCertificate it will check if certificate is provided), and fire UserAuthenticate event giving you chance to authenticate client from your access list.If this property is set to AuthOptional, wodWebServer will still check if authorization headers are provided, it will fire UserAuthenticate event - but Accept argument in that event will default to Allow - thus accepting connections unless you change Accept argument to Deny.