Class AuthRequiredEventArgs
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
-
EventArgsAuthRequiredEventArgs
- Implements
-
IEquatable<EventArgs>
- Inherited Members
-
EventArgs.ToString()EventArgs.GetHashCode()EventArgs.Equals(EventArgs)EventArgs.<Clone>$()EventArgs.BiDiEventArgs.AdditionalDataEventArgs.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
RequestIdRequestIdEach request the page makes will have a unique id.
RequestRequestThe details of the request.
FrameIdFrameIdThe id of the frame that initiated the request.
ResourceTypeResourceTypeHow the requested resource will be used.
AuthChallengeAuthChallengeDetails 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
FrameId
The id of the frame that initiated the request.
public FrameId FrameId { get; init; }
Property Value
Request
The details of the request.
public Request Request { get; init; }
Property Value
RequestId
Each request the page makes will have a unique id.
public RequestId RequestId { get; init; }
Property Value
ResourceType
How the requested resource will be used.
public ResourceType ResourceType { get; init; }