Skip to main content

authorize

Function authorize 

Source
pub fn authorize(
    mode: AccountMode,
) -> Result<Authorization, Box<dyn Error + Send + Sync>>
Expand description

Build the authorize URL, PKCE pair, and state for a sign-in attempt.

ยงErrors

Returns an error when OS randomness is unavailable for PKCE/state.