puppeteer/new-docs/puppeteer.protocol.fetch.authchallengeresponse.md

23 lines
1.2 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Fetch](./puppeteer.protocol.fetch.md) &gt; [AuthChallengeResponse](./puppeteer.protocol.fetch.authchallengeresponse.md)
## Protocol.Fetch.AuthChallengeResponse interface
Response to an AuthChallenge.
<b>Signature:</b>
```typescript
export interface AuthChallengeResponse
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [password](./puppeteer.protocol.fetch.authchallengeresponse.password.md) | string | The password to provide, possibly empty. Should only be set if response is ProvideCredentials. |
| [response](./puppeteer.protocol.fetch.authchallengeresponse.response.md) | ('Default' \| 'CancelAuth' \| 'ProvideCredentials') | The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box. |
| [username](./puppeteer.protocol.fetch.authchallengeresponse.username.md) | string | The username to provide, possibly empty. Should only be set if response is ProvideCredentials. |