Table of Contents

Class AuthRequiredEventArgs

Namespace
Selenium.WebDriver.BiDi.Cdp.Fetch
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth.

public sealed record AuthRequiredEventArgs : EventArgs, IEquatable<EventArgs>, IEquatable<AuthRequiredEventArgs>
Inheritance
EventArgs
AuthRequiredEventArgs
Implements
IEquatable<EventArgs>
Inherited Members
EventArgs.ToString()
EventArgs.GetHashCode()
EventArgs.Equals(EventArgs)
EventArgs.<Clone>$()
EventArgs.BiDi
EventArgs.AdditionalData
EventArgs.AdditionalMessageData

Constructors

AuthRequiredEventArgs(RequestId, Request, FrameId, ResourceType, AuthChallenge)

Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth.

public AuthRequiredEventArgs(RequestId RequestId, Request Request, FrameId FrameId, ResourceType ResourceType, AuthChallenge AuthChallenge)

Parameters

RequestId RequestId

Each request the page makes will have a unique id.

Request Request

The details of the request.

FrameId FrameId

The id of the frame that initiated the request.

ResourceType ResourceType

How the requested resource will be used.

AuthChallenge AuthChallenge

Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.

Properties

AuthChallenge

Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.

public AuthChallenge AuthChallenge { get; init; }

Property Value

AuthChallenge

FrameId

The id of the frame that initiated the request.

public FrameId FrameId { get; init; }

Property Value

FrameId

Request

The details of the request.

public Request Request { get; init; }

Property Value

Request

RequestId

Each request the page makes will have a unique id.

public RequestId RequestId { get; init; }

Property Value

RequestId

ResourceType

How the requested resource will be used.

public ResourceType ResourceType { get; init; }

Property Value

ResourceType