Interface ConfigFile.IWebApiConfiguration
Configuration values related to the WebApi web services. Created in Database scope
Namespace: SuperOffice.Configuration
Assembly: SoCore.dll
Syntax
public interface ConfigFile.IWebApiConfiguration
Properties
AuthorizeWithImplicit
Allow WebAPI to authorize with implicit identity from IIS. Default true.
Declaration
bool AuthorizeWithImplicit { get; set; }
Property Value
Type | Description |
---|---|
bool |
AuthorizeWithTicket
Allow WebAPI to authorize with session tickets. Default true.
Declaration
bool AuthorizeWithTicket { get; set; }
Property Value
Type | Description |
---|---|
bool |
AuthorizeWithUsername
Allow WebAPI to authorize with username + password. Default true.
Declaration
bool AuthorizeWithUsername { get; set; }
Property Value
Type | Description |
---|---|
bool |
CORSEnable
Allow 3rd party web pages to call WebAPI from the browser. Default false.
Declaration
bool CORSEnable { get; set; }
Property Value
Type | Description |
---|---|
bool |
CORSOrigin
If CORS is enabled, define the Origins that are allowed to call the WebAPI from the browser. Default '' (none).
Declaration
string CORSOrigin { get; set; }
Property Value
Type | Description |
---|---|
string |
Documentation
Turn on/off Swagger/OpenAPI documentation generation for WebAPI. Turn off to reduce memory usage.
Declaration
bool Documentation { get; set; }
Property Value
Type | Description |
---|---|
bool |