BrowserRequestCredentials Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a value for the 'credentials' option on outbound HTTP requests.
public enum class BrowserRequestCredentials
public enum BrowserRequestCredentials
type BrowserRequestCredentials =
Public Enum BrowserRequestCredentials
- Inheritance
-
BrowserRequestCredentials
Fields
Name | Value | Description |
---|---|---|
Omit | 0 | Advises the browser never to send credentials (such as cookies or HTTP auth headers). |
SameOrigin | 1 | Advises the browser to send credentials (such as cookies or HTTP auth headers) only if the target URL is on the same origin as the calling application. |
Include | 2 | Advises the browser to send credentials (such as cookies or HTTP auth headers) even for cross-origin requests. |