Skip to main content

register_client

Function register_client 

Source
pub async fn register_client(
    http: &Client,
    registration_endpoint: &str,
    client_name: &str,
) -> Result<String, OAuthError>
Expand description

Register a public device-flow client via RFC 7591 and return its client_id. Callers persist the id into ProxyOAuthConfig.client_id so re-login reuses it.