third_party_auth_api module
ThirdPartyAuthApi
Parameters
api_client=None
Methods
authorize_third_party
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 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_user_third_party
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 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 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 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 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
Last updated