AuthRequiredEvent

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

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

Constructors

AuthRequiredEvent
Link copied to clipboard
fun AuthRequiredEvent(requestId: RequestId, request: Request, frameId: FrameId, resourceType: ResourceType, authChallenge: AuthChallenge)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

authChallenge
Link copied to clipboard
val authChallenge: AuthChallenge
Details of the Authorization Challenge encountered.
frameId
Link copied to clipboard
val frameId: FrameId
The id of the frame that initiated the request.
request
Link copied to clipboard
val request: Request
The details of the request.
requestId
Link copied to clipboard
val requestId: RequestId
Each request the page makes will have a unique id.
resourceType
Link copied to clipboard
val resourceType: ResourceType
How the requested resource will be used.

Sources

jvm source
Link copied to clipboard