pub struct AuthRequiredEvent {
pub request_id: RequestId,
pub request: Request,
pub frame_id: FrameId,
pub resource_type: ResourceType,
pub auth_challenge: AuthChallenge,
}Expand description
Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth.
Payload of the Fetch.authRequired event.
Fields§
§request_id: RequestIdEach request the page makes will have a unique id.
request: RequestThe details of the request.
frame_id: FrameIdThe id of the frame that initiated the request.
resource_type: ResourceTypeHow the requested resource will be used.
auth_challenge: AuthChallengeDetails of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.
Trait Implementations§
Source§impl Clone for AuthRequiredEvent
impl Clone for AuthRequiredEvent
Source§impl Debug for AuthRequiredEvent
impl Debug for AuthRequiredEvent
Source§impl<'de> Deserialize<'de> for AuthRequiredEvent
impl<'de> Deserialize<'de> for AuthRequiredEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Event for AuthRequiredEvent
impl Event for AuthRequiredEvent
Source§impl PartialEq for AuthRequiredEvent
impl PartialEq for AuthRequiredEvent
Source§impl Serialize for AuthRequiredEvent
impl Serialize for AuthRequiredEvent
impl StructuralPartialEq for AuthRequiredEvent
Auto Trait Implementations§
impl Forget for AuthRequiredEvent
impl Freeze for AuthRequiredEvent
impl RefUnwindSafe for AuthRequiredEvent
impl Send for AuthRequiredEvent
impl Sync for AuthRequiredEvent
impl Unpin for AuthRequiredEvent
impl UnsafeUnpin for AuthRequiredEvent
impl UnwindSafe for AuthRequiredEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more