BrowserRequestCredentials Enum

Definition

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

Include 2

Advises the browser to send credentials (such as cookies or HTTP auth headers) even for cross-origin requests.

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.

Applies to