pub struct AuthRequiredEvent { /* private fields */ }
Available on crate features
Fetch
and Network
and IO
and Page
only.Expand description
Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth.
Implementations§
Source§impl AuthRequiredEvent
impl AuthRequiredEvent
pub fn builder() -> AuthRequiredEventBuilder
Sourcepub fn request_id(&self) -> &RequestId
pub fn request_id(&self) -> &RequestId
Each request the page makes will have a unique id.
Sourcepub fn resource_type(&self) -> &ResourceType
pub fn resource_type(&self) -> &ResourceType
How the requested resource will be used.
Sourcepub fn auth_challenge(&self) -> &AuthChallenge
pub fn auth_challenge(&self) -> &AuthChallenge
Details 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§fn clone(&self) -> AuthRequiredEvent
fn clone(&self) -> AuthRequiredEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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
Auto Trait Implementations§
impl Freeze for AuthRequiredEvent
impl RefUnwindSafe for AuthRequiredEvent
impl Send for AuthRequiredEvent
impl Sync for AuthRequiredEvent
impl Unpin 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