GET api/Account/TwoFactorSettings?app={app}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
app

string

Required

Body Parameters

None.

Response Information

Resource Description

BAuthTwoFactorSetting
NameDescriptionTypeAdditional information
ApplicationUserId

string

None.

ApplicationUserGuid

string

None.

TwoFactorEnabled

boolean

None.

TwoFactorDefaultProvider

byte

None.

TwoFactorEmailProviderAddress

string

None.

TwoFactorGoogleProviderVerified

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ApplicationUserId": "sample string 1",
  "ApplicationUserGuid": "sample string 2",
  "TwoFactorEnabled": true,
  "TwoFactorDefaultProvider": 64,
  "TwoFactorEmailProviderAddress": "sample string 5",
  "TwoFactorGoogleProviderVerified": true
}

application/xml, text/xml

Sample:
<BAuthTwoFactorSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BenefitSoftware.Base.Common">
  <ApplicationUserGuid>sample string 2</ApplicationUserGuid>
  <ApplicationUserId>sample string 1</ApplicationUserId>
  <TwoFactorDefaultProvider>64</TwoFactorDefaultProvider>
  <TwoFactorEmailProviderAddress>sample string 5</TwoFactorEmailProviderAddress>
  <TwoFactorEnabled>true</TwoFactorEnabled>
  <TwoFactorGoogleProviderVerified>true</TwoFactorGoogleProviderVerified>
</BAuthTwoFactorSetting>