Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Server.WebServer
- WeOnlyDo.Server.WebHeader
- WeOnlyDo.Server.WebHeaders
- WeOnlyDo.Server.WebRequest
- WeOnlyDo.Server.WebResponse
- WeOnlyDo.Server.WebSessions
- WeOnlyDo.Server.WebSessionVar
- WeOnlyDo.Server.WebSessionVars
- WeOnlyDo.Server.WebUpload
- WeOnlyDo.Server.WebUploads
- WeOnlyDo.Server.WebUser
- WeOnlyDo.Server.WebUsers
- How to get support?
AuthenticationType property
Determines type of authentication supported by the server.
Type
WebAuthenticationTypes enumerationSyntax
- C#
- VB.NET
WebAuthenticationTypes AuthenticationType {get; set; };
Property AuthenticationType As WebAuthenticationTypes
Remarks
This property defines authentication type wodWebServer.NET requires (and supports) to authenticate clients. You can set this property to any of above values in WebAuthenticationTypes enumeration, or their combination. If you set Authentication property to Required, 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, Authenticate 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.