Enum RequestCredentials
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The credentials read-only property of the Request interface reflects the value given to the Request(Union42, RequestInit) constructor in the credentials option. It determines whether or not the browser sends credentials with the request, as well as whether any Set-Cookie response headers are respected.
[To("None")]
public enum RequestCredentials
Fields
[EnumValue("omit")] Omit = 0[EnumValue("same-origin")] SameOrigin = 1[EnumValue("include")] Include = 2
Remarks
Credentials are cookies, TLS client certificates, or authentication headers containing a username and password.
See Including credentials for more details.