Skip to main content

build_authorize_url

Function build_authorize_url 

Source
pub fn build_authorize_url(
    registration: &GeminiRegistration,
    challenge: &str,
    state: &str,
    port: u16,
) -> String
Expand description

Build a Google installed-app authorization URL with PKCE (S256), offline access, and forced consent so a refresh token is always issued.