generate_authorization

Function generate_authorization 

Source
pub fn generate_authorization(
    authorize_uri: &str,
    redirect_uri: &str,
    client_id: &str,
    send_credentials_in_body: bool,
    scopes: Option<String>,
    audience: Option<String>,
) -> Result<(Url, CsrfToken, String), ParseError>
Expand description

Generate authorization URL and include the CSRF token and PKCE verifier in the response