cyphermed.api.auth.logout

def sync_detailed( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.logout_form_params.LogoutFormParams) -> cyphermed.types.Response[cyphermed.models.success.Success]:

Logout

Revoke either all access tokens for a given refresh token, or all tokens

Args: body (LogoutFormParams):

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[Success]

def sync( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.logout_form_params.LogoutFormParams) -> Optional[cyphermed.models.success.Success]:

Logout

Revoke either all access tokens for a given refresh token, or all tokens

Args: body (LogoutFormParams):

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: Success

async def asyncio_detailed( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.logout_form_params.LogoutFormParams) -> cyphermed.types.Response[cyphermed.models.success.Success]:

Logout

Revoke either all access tokens for a given refresh token, or all tokens

Args: body (LogoutFormParams):

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[Success]

async def asyncio( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.logout_form_params.LogoutFormParams) -> Optional[cyphermed.models.success.Success]:

Logout

Revoke either all access tokens for a given refresh token, or all tokens

Args: body (LogoutFormParams):

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: Success