POST api/v1/authenticatorv1/CheckAuthenticator2FA

Request Information

URI Parameters

None.

Body Parameters

Check2FAParamDto
NameDescriptionTypeAdditional information
ValidateType

integer

None.

Secret

string

None.

Code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ValidateType": 1,
  "Secret": "sample string 2",
  "Code": "sample string 3"
}

application/xml, text/xml

Sample:
<Check2FAParamDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smart.Domain.Dto.Others.GoogleAuthenticator">
  <Code>sample string 3</Code>
  <Secret>sample string 2</Secret>
  <ValidateType>1</ValidateType>
</Check2FAParamDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json

Sample:

Sample not available.

application/xml

Sample:
<boolean>true</boolean>

text/json

Sample:
true

text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>