Skip to main content

authorization_request

Function authorization_request 

Source
pub fn authorization_request(
    config: &GoogleOAuthConfig,
    scope: CalendarScope,
) -> Result<PendingAuthorization, GoogleOAuthError>
Expand description

Build a Google consent URL and fresh CSRF/PKCE values.

The caller must durably store state and pkce_verifier with the initiating EME user and a short expiry before redirecting the browser.