puppeteer/new-docs/puppeteer.protocol.fetch.authrequiredevent.md
2020-07-13 14:01:35 +01:00

25 lines
1.6 KiB
Markdown

<!-- 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; [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. |