cyphermed.api.auth.respond_to_challenge
Respond To Challenge
Answer a challenge to verify MFA device or token
Args: body (RespondToChallengeFormParams):
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[Union[Challenge, TokenInfo]]
Respond To Challenge
Answer a challenge to verify MFA device or token
Args: body (RespondToChallengeFormParams):
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: Union[Challenge, TokenInfo]
Respond To Challenge
Answer a challenge to verify MFA device or token
Args: body (RespondToChallengeFormParams):
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[Union[Challenge, TokenInfo]]
Respond To Challenge
Answer a challenge to verify MFA device or token
Args: body (RespondToChallengeFormParams):
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: Union[Challenge, TokenInfo]