Show / Hide Table of Contents

Class ConfigFile.WebApi

Configuration values related to the WebApi web services.

Inheritance
Object
ConfigFile.WebApi
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.Configuration
Assembly: SoCore.dll
Syntax
public static class WebApi

Properties

AuthorizeWithImplicit

Allow WebAPI to authorize with implicit identity from IIS. Default true.

Declaration
public static bool AuthorizeWithImplicit { get; set; }
Property Value
Type Description
Boolean

AuthorizeWithTicket

Allow WebAPI to authorize with session tickets. Default true.

Declaration
public static bool AuthorizeWithTicket { get; set; }
Property Value
Type Description
Boolean

AuthorizeWithUsername

Allow WebAPI to authorize with username + password. Default true.

Declaration
public static bool AuthorizeWithUsername { get; set; }
Property Value
Type Description
Boolean

CORSEnable

Allow 3rd party web pages to call WebAPI from the browser. Default false.

Declaration
public static bool CORSEnable { get; set; }
Property Value
Type Description
Boolean

CORSOrigin

If CORS is enabled, define the Origins that are allowed to call the WebAPI from the browser. Default '' (none).

Declaration
public static 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
public static bool Documentation { get; set; }
Property Value
Type Description
Boolean
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top