Autional Autional
API Reference GitHub autional.com →

GET /mfa/backup-codes

Decrypt and return all backup recovery codes for the current user, requires step-up authentication. Reference: RFC 6238 (TOTP), OWASP ASVS V2.8.3.

Multi-Factor Authentication `bearerAuth` application/json

Responses

StatusDescriptionSchema
200Backup code listdto.GetBackupCodesDetailResponse
400Business errorgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticated or step-up expiredgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.GetBackupCodesDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.GetBackupCodesResponse No
message string No
timestamp string No

dto.GetBackupCodesResponse

FieldTypeRequiredExampleConstraintsDescription
codes array of

string

No ['["12345678"', '"23456789"]']
count integer No 8
message string No Store these codes securely

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No