vantage_sdk.client
Simple async HTTP client for OAuth token operations.
Functions
create_auth_http_client(settings: 'Settings') -> 'httpx.AsyncClient'
Create an async HTTP client for OAuth operations.
make_oauth_request(client: 'httpx.AsyncClient', url_path: 'str', data: 'dict[str, Any]', response_model_cls: 'type[ResponseModel]', abort_message: 'str' = 'OAuth request failed', abort_subject: 'str' = 'AUTHENTICATION ERROR') -> 'ResponseModel'
Make an async OAuth token request.