Back to product page

Authentication property


Determines if authentication is required to access the server.

Type

WebAuthentications enumeration

Syntax

  • C#
  • VB.NET
WebAuthentications Authentication {get; set; };

Property Authentication As WebAuthentications

Remarks

This property defines if wodWebServer requires client authorization to be performed before he can actually access resources on the server. When set to Required, wodWebServer will check if authorization headers exist (or, if AuthenticationType property is set to Certificate it will check if certificate is provided), and fire Authenticate event giving you chance to authenticate client from your access list.

If this property is set to Optional, wodWebServer will still check if authorization headers are provided, it will fire Authenticate event - but Accept argument in that event will default to Allow - thus accepting connections unless you change Accept argument to Deny.

Platforms

Windows