GET api/Account/GetTwoFAInfo/{handle}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| handle | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ActiveTwoFactorAuthenticationBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SecretKey | string |
Required |
|
| TwoFactorEnable | boolean |
None. |
|
| AccountName | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"SecretKey": "sample string 1",
"TwoFactorEnable": true,
"AccountName": "sample string 3"
}
application/xml, text/xml
Sample:
<ActiveTwoFactorAuthenticationBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AuthServer.Models"> <AccountName>sample string 3</AccountName> <SecretKey>sample string 1</SecretKey> <TwoFactorEnable>true</TwoFactorEnable> </ActiveTwoFactorAuthenticationBindingModel>