pl.wendigo.chrome.domain.fetch / AuthRequiredEvent

AuthRequiredEvent

data class AuthRequiredEvent : ProtocolEvent (source)

Represents event frames for Fetch.authRequired

Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth.

Constructors

<init>

AuthRequiredEvent(requestId: RequestId, request: Request, frameId: FrameId, resourceType: ResourceType, authChallenge: AuthChallenge)

Represents event frames for Fetch.authRequired

Properties

authChallenge

val authChallenge: AuthChallenge

Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.

frameId

val frameId: FrameId

The id of the frame that initiated the request.

request

val request: Request

The details of the request.

requestId

val requestId: RequestId

Each request the page makes will have a unique id.

resourceType

val resourceType: ResourceType

How the requested resource will be used.

Inherited Functions

protocolDomain

fun protocolDomain(): String