Skip to main content

Module clients.auth.token_api_client

Classes

TokenApiClient

class TokenApiClient(configuration: h2o_notebook.gen.configuration.Configuration, token_provider: Callable[[], str])

Overrides update_params_for_auth method of the generated ApiClient classes

Methods

update_params_for_auth

def update_params_for_auth(self, headers, queries, auth_settings, resource_path, method, body, request_auths=None)

Updates header and query params based on authentication setting.

:param headers: Header parameters dict to be updated. :param queries: Query parameters tuple list to be updated. :param auth_settings: Authentication setting identifiers list. :param resource_path: A string representation of the HTTP request resource path. :param method: A string representation of the HTTP request method. :param body: A object representing the body of the HTTP request. The object type is the return value of _encoder.default(). :param request_auths: if set, the provided settings will override the token in the configuration.

Ancestors

  • h2o_notebook.gen.api_client.ApiClient

Feedback