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