cyphermed.api.auth.enable_software_mfa

def sync_detailed( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.enable_software_mfa_form_params.EnableSoftwareMfaFormParams) -> cyphermed.types.Response[cyphermed.models.software_mfa_added.SoftwareMfaAdded]:

Enable Software Mfa

Register and verify MFA device using a generated TOTP code

Args: body (EnableSoftwareMfaFormParams):

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

def sync( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.enable_software_mfa_form_params.EnableSoftwareMfaFormParams) -> Optional[cyphermed.models.software_mfa_added.SoftwareMfaAdded]:

Enable Software Mfa

Register and verify MFA device using a generated TOTP code

Args: body (EnableSoftwareMfaFormParams):

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

async def asyncio_detailed( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.enable_software_mfa_form_params.EnableSoftwareMfaFormParams) -> cyphermed.types.Response[cyphermed.models.software_mfa_added.SoftwareMfaAdded]:

Enable Software Mfa

Register and verify MFA device using a generated TOTP code

Args: body (EnableSoftwareMfaFormParams):

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

async def asyncio( *, client: cyphermed.client.AuthenticatedClient, body: cyphermed.models.enable_software_mfa_form_params.EnableSoftwareMfaFormParams) -> Optional[cyphermed.models.software_mfa_added.SoftwareMfaAdded]:

Enable Software Mfa

Register and verify MFA device using a generated TOTP code

Args: body (EnableSoftwareMfaFormParams):

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