Parameters
api_client=None
Give access to project
Authorize a third party to access a project
Parameters
self
project_id: typing_extensions.Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Project ID', extra={})]
auth_id: typing_extensions.Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Auth ID', extra={})]
next_url: typing_extensions.Annotated[pydantic.types.StrictStr, FieldInfo(default=Ellipsis, description='The URL to redirect to after authorization is completed.', extra={})]
**kwargs
Return
None
Create third party auth
Create a new third party authentication partner
Parameters
self
create_third_party_auth_request: edgeimpulse_api.models.create_third_party_auth_request.CreateThirdPartyAuthRequest
**kwargs
Return
edgeimpulse_api.models.create_third_party_auth_response.CreateThirdPartyAuthResponse
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
self
auth_id: typing_extensions.Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Auth ID', extra={})]
create_user_third_party_request: edgeimpulse_api.models.create_user_third_party_request.CreateUserThirdPartyRequest
**kwargs
Return
edgeimpulse_api.models.create_user_third_party_response.CreateUserThirdPartyResponse
Delete third party auth
Delete a third party authentication partner
Parameters
self
auth_id: typing_extensions.Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Auth ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse
Get all third party auth
Get information about all third party authentication partners
Parameters
self
**kwargs
Return
edgeimpulse_api.models.get_all_third_party_auth_response.GetAllThirdPartyAuthResponse
Get third party auth
Get information about a third party authentication partner
Parameters
self
auth_id: typing_extensions.Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Auth ID', extra={})]
**kwargs
Return
edgeimpulse_api.models.get_third_party_auth_response.GetThirdPartyAuthResponse
Update third party auth
Update a third party authentication partner
Parameters
self
auth_id: typing_extensions.Annotated[pydantic.types.StrictInt, FieldInfo(default=Ellipsis, description='Auth ID', extra={})]
update_third_party_auth_request: edgeimpulse_api.models.update_third_party_auth_request.UpdateThirdPartyAuthRequest
**kwargs
Return
edgeimpulse_api.models.generic_api_response.GenericApiResponse