-
public final class FetchEvent.AuthRequiredEvent extends FetchEvent
Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringrequestIdprivate final Requestrequestprivate final StringframeIdprivate final ResourceTyperesourceTypeprivate final AuthChallengeauthChallenge
-
Constructor Summary
Constructors Constructor Description AuthRequiredEvent(String requestId, Request request, String frameId, ResourceType resourceType, AuthChallenge authChallenge)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Requestcomponent2()final Stringcomponent3()final ResourceTypecomponent4()final AuthChallengecomponent5()final FetchEvent.AuthRequiredEventcopy(String requestId, Request request, String frameId, ResourceType resourceType, AuthChallenge authChallenge)final StringgetRequestId()Each request the page makes will have a unique id. final RequestgetRequest()The details of the request. final StringgetFrameId()The id of the frame that initiated the request. final ResourceTypegetResourceType()How the requested resource will be used. final AuthChallengegetAuthChallenge()Details of the Authorization Challenge encountered. -
-
Constructor Detail
-
AuthRequiredEvent
AuthRequiredEvent(String requestId, Request request, String frameId, ResourceType resourceType, AuthChallenge authChallenge)
-
-
Method Detail
-
component1
final String component1()
-
component2
final Request component2()
-
component3
final String component3()
-
component4
final ResourceType component4()
-
component5
final AuthChallenge component5()
-
copy
final FetchEvent.AuthRequiredEvent copy(String requestId, Request request, String frameId, ResourceType resourceType, AuthChallenge authChallenge)
-
getRequestId
final String getRequestId()
Each request the page makes will have a unique id.
-
getRequest
final Request getRequest()
The details of the request.
-
getFrameId
final String getFrameId()
The id of the frame that initiated the request.
-
getResourceType
final ResourceType getResourceType()
How the requested resource will be used.
-
getAuthChallenge
final AuthChallenge getAuthChallenge()
Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.
-
-
-
-