SDK reference / Models / WebApps

WebAppCorsRule

Kind: class

Namespace: Egulu.Sdk.Models.WebApps

One CORS rule: the first rule whose origins match answers the browser.

Properties

NameTypeJSON nameDescription
AllowCredentialsbool?allowCredentialsWhether cookies and authorisation headers may be sent (not with `*`).
AllowedHeadersList<string>?allowedHeadersRequest headers a page may send; `*` for any (not with credentials).
ExposeHeadersList<string>?exposeHeadersResponse headers a page's script may read.
MaxAgeSecondsint?maxAgeSecondsSeconds a browser keeps a preflight answer, 0 to 86400 (default 600).
MethodsList<string>?methodsGET | HEAD | POST | PUT | PATCH | DELETE | OPTIONS.
OriginsList<string>?origins`*`, `https://app.example.com` or `https://*.example.com`; lower case.