Skip to main content

login

Function login 

Source
pub async fn login(
    client_id: &str,
    client_secret: &Secret,
    scope: DriveScope,
    browser: &BrowserConfig,
) -> Result<DriveAuthStatus>
Expand description

Runs the OAuth2 authorization-code + PKCE login flow, persisting the resulting refresh token to ~/.omni-dev/settings.json.