Skip to main content

MaybeAuthenticatedClient

Trait MaybeAuthenticatedClient 

Source
pub trait MaybeAuthenticatedClient: ClientContext {
    // Required method
    fn has_auth(&self) -> bool;
}
Expand description

Shared auth-state inspection surface.

Required Methods§

Source

fn has_auth(&self) -> bool

Returns whether the client currently has credentials available for authenticated calls.

Implementors§