mgnipy.emgapi_v2_client.api.authentication.token_verify module

mgnipy.emgapi_v2_client.api.authentication.token_verify module#

async mgnipy.emgapi_v2_client.api.authentication.token_verify.asyncio(*, client, body)[source]#

Verify Token

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Schema

Return type:

Schema | None

async mgnipy.emgapi_v2_client.api.authentication.token_verify.asyncio_detailed(*, client, body)[source]#

Verify Token

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[Schema]

Return type:

Response[Schema]

mgnipy.emgapi_v2_client.api.authentication.token_verify.sync(*, client, body)[source]#

Verify Token

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Schema

Return type:

Schema | None

mgnipy.emgapi_v2_client.api.authentication.token_verify.sync_detailed(*, client, body)[source]#

Verify Token

Parameters:
Raises:
  • errors.UnexpectedStatus – If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

  • httpx.TimeoutException – If the request takes longer than Client.timeout.

Returns:

Response[Schema]

Return type:

Response[Schema]