cyphermed.api.auth.get_mfa_secret_code

def sync_detailed( *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[cyphermed.models.mfa_secret_code.MfaSecretCode]:

Get Mfa Secret Code

Get the secret code needed to register a software MFA device

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

def sync( *, client: cyphermed.client.AuthenticatedClient) -> Optional[cyphermed.models.mfa_secret_code.MfaSecretCode]:

Get Mfa Secret Code

Get the secret code needed to register a software MFA device

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

async def asyncio_detailed( *, client: cyphermed.client.AuthenticatedClient) -> cyphermed.types.Response[cyphermed.models.mfa_secret_code.MfaSecretCode]:

Get Mfa Secret Code

Get the secret code needed to register a software MFA device

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

async def asyncio( *, client: cyphermed.client.AuthenticatedClient) -> Optional[cyphermed.models.mfa_secret_code.MfaSecretCode]:

Get Mfa Secret Code

Get the secret code needed to register a software MFA device

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