mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
25 lines
1.6 KiB
Markdown
25 lines
1.6 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Fetch](./puppeteer.protocol.fetch.md) > [AuthRequiredEvent](./puppeteer.protocol.fetch.authrequiredevent.md)
|
|
|
|
## Protocol.Fetch.AuthRequiredEvent interface
|
|
|
|
Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export interface AuthRequiredEvent
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [authChallenge](./puppeteer.protocol.fetch.authrequiredevent.authchallenge.md) | [AuthChallenge](./puppeteer.protocol.fetch.authchallenge.md) | Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse. |
|
|
| [frameId](./puppeteer.protocol.fetch.authrequiredevent.frameid.md) | [Page.FrameId](./puppeteer.protocol.page.frameid.md) | The id of the frame that initiated the request. |
|
|
| [request](./puppeteer.protocol.fetch.authrequiredevent.request.md) | [Network.Request](./puppeteer.protocol.network.request.md) | The details of the request. |
|
|
| [requestId](./puppeteer.protocol.fetch.authrequiredevent.requestid.md) | [RequestId](./puppeteer.protocol.fetch.requestid.md) | Each request the page makes will have a unique id. |
|
|
| [resourceType](./puppeteer.protocol.fetch.authrequiredevent.resourcetype.md) | [Network.ResourceType](./puppeteer.protocol.network.resourcetype.md) | How the requested resource will be used. |
|
|
|