Class AuthRequired

java.lang.Object
io.webfolder.cdp.event.fetch.AuthRequired

public class AuthRequired extends Object
Issued when the domain is enabled with handleAuthRequests set to true The request is paused until client responds with continueWithAuth
  • Constructor Details

    • AuthRequired

      public AuthRequired()
  • Method Details

    • getRequestId

      public String getRequestId()
      Each request the page makes will have a unique id.
    • setRequestId

      public void setRequestId(String requestId)
      Each request the page makes will have a unique id.
    • getRequest

      public Request getRequest()
      The details of the request.
    • setRequest

      public void setRequest(Request request)
      The details of the request.
    • getFrameId

      public String getFrameId()
      The id of the frame that initiated the request.
    • setFrameId

      public void setFrameId(String frameId)
      The id of the frame that initiated the request.
    • getResourceType

      public ResourceType getResourceType()
      How the requested resource will be used.
    • setResourceType

      public void setResourceType(ResourceType resourceType)
      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.
    • setAuthChallenge

      public void setAuthChallenge(AuthChallenge authChallenge)
      Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.