pub enum BrowserLaunch {
Auto,
Command(Vec<String>),
Manual,
}Expand description
How to open the SSO URL during external-browser authentication.
Variants§
Auto
Open with the OS default handler (open / xdg-open / start).
Command(Vec<String>)
Run a custom command; {url} (or a trailing arg) receives the SSO URL.
Use this to target a specific Chrome profile in a new window, e.g.
Google Chrome --profile-directory=Profile 1 --new-window {url}.
Manual
Do not open a browser; the SSO URL is logged for manual opening.
Trait Implementations§
Source§impl Clone for BrowserLaunch
impl Clone for BrowserLaunch
Source§fn clone(&self) -> BrowserLaunch
fn clone(&self) -> BrowserLaunch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BrowserLaunch
impl Debug for BrowserLaunch
Source§impl Default for BrowserLaunch
impl Default for BrowserLaunch
Source§fn default() -> BrowserLaunch
fn default() -> BrowserLaunch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BrowserLaunch
impl RefUnwindSafe for BrowserLaunch
impl Send for BrowserLaunch
impl Sync for BrowserLaunch
impl Unpin for BrowserLaunch
impl UnsafeUnpin for BrowserLaunch
impl UnwindSafe for BrowserLaunch
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