requires_third_party_auth_api_key_api

edgeimpulse_api v1.0.0

edgeimpulse_api.api.requires_third_party_auth_api_key_api module

class edgeimpulse_api.api.requires_third_party_auth_api_key_api.RequiresThirdPartyAuthApiKeyApi(api_client=None)

Bases: object

create_user_third_party(auth_id: StrictInt, create_user_third_party_request: CreateUserThirdPartyRequest, **kwargs)

Create or login a user

Login as a user as a third-party authentication provider. If the user does not exists, it’s automatically created. You can only log in as users that were previously created by you.

  • Parameters

    • auth_id (int) – Auth ID (required)

    • create_user_third_party_request (CreateUserThirdPartyRequest) – (required)

    • async_req (bool*, *optional) – Whether to execute the request asynchronously.

    • _preload_content (bool*, *optional) – if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True.

    • _request_timeout – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

  • Returns

    Returns the result object. If the method is called asynchronously, returns the request thread.

Last updated

Was this helpful?