generate_access_token

Function generate_access_token 

Source
pub async fn generate_access_token(
    client_id: &str,
    client_secret: &str,
    refresh_token: &str,
) -> Result<AccessTokenResponse, Error>
Expand description

Generate a new access token using an existing refresh token.

Requires the client ID and secret, which are shown when creating the Supabase OAuth2 app.