Class AuthRequired
- java.lang.Object
-
- org.openqa.selenium.devtools.fetch.model.AuthRequired
-
public class AuthRequired extends java.lang.Object
Issued 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 AuthChallenge
getAuthChallenge()
Details of the Authorization Challenge encountered.FrameId
getFrameId()
The id of the frame that initiated the request.Request
getRequest()
The details of the request.RequestId
getRequestId()
Each request the page makes will have a unique id.ResourceType
getResourceType()
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.
-
-