Class AuthRequired
java.lang.Object
org.openqa.selenium.devtools.v126.fetch.model.AuthRequired
Issued when the domain is enabled with handleAuthRequests set to true.
The request is paused until client responds with continueWithAuth.
-
Constructor Summary
ConstructorsConstructorDescriptionAuthRequired
(RequestId requestId, Request request, FrameId frameId, ResourceType resourceType, AuthChallenge authChallenge) -
Method Summary
Modifier and TypeMethodDescriptionDetails of the Authorization Challenge encountered.The id of the frame that initiated the request.The details of the request.Each request the page makes will have a unique id.How the requested resource will be used.
-
Constructor Details
-
AuthRequired
public AuthRequired(RequestId requestId, Request request, FrameId frameId, ResourceType resourceType, AuthChallenge authChallenge)
-
-
Method Details
-
getRequestId
Each request the page makes will have a unique id. -
getRequest
The details of the request. -
getFrameId
The id of the frame that initiated the request. -
getResourceType
How the requested resource will be used. -
getAuthChallenge
Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.
-