Interface HTTPCredentials

Hierarchy

  • HTTPCredentials

Properties

origin?: string

Restrain sending http credentials on specific origin (scheme://host:port).

password: string
send?: "unauthorized" | "always"

This option only applies to the requests sent from corresponding APIRequestContext and does not affect requests sent from the browser. 'always' - Authorization header with basic authentication credentials will be sent with the each API request. 'unauthorized - the credentials are only sent when 401 (Unauthorized) response with WWW-Authenticate header is received. Defaults to 'unauthorized'.

username: string

Generated using TypeDoc