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

23 lines
1.3 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; [Network](./puppeteer.protocol.network.md) &gt; [AuthChallengeResponse](./puppeteer.protocol.network.authchallengeresponse.md)
## Protocol.Network.AuthChallengeResponse interface
Response to an AuthChallenge.
<b>Signature:</b>
```typescript
export interface AuthChallengeResponse
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [password](./puppeteer.protocol.network.authchallengeresponse.password.md) | string | The password to provide, possibly empty. Should only be set if response is ProvideCredentials. |
| [response](./puppeteer.protocol.network.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. (AuthChallengeResponseResponse enum) |
| [username](./puppeteer.protocol.network.authchallengeresponse.username.md) | string | The username to provide, possibly empty. Should only be set if response is ProvideCredentials. |