pub struct AuthParams {
pub open_browser: bool,
}
Expand description
TSAR Client options. Pass this into the new()
function of the TSAR Client.
Fields§
§open_browser: bool
Whether authenticate() should automatically open the user’s browser when auth fails. Disable this when using authenticate() more than once or in loops so that you dont spam the user’s browser with tabs.
Trait Implementations§
Source§impl Debug for AuthParams
impl Debug for AuthParams
Auto Trait Implementations§
impl Freeze for AuthParams
impl RefUnwindSafe for AuthParams
impl Send for AuthParams
impl Sync for AuthParams
impl Unpin for AuthParams
impl UnwindSafe for AuthParams
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