POST v1/MFA/ValidateCode
Request Information
URI Parameters
None.
Body Parameters
TotpRequestModelName | Description | Type | Additional information |
---|---|---|---|
Username | string |
None. |
|
Code | string |
None. |
|
string |
None. |
||
Guid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Username": "sample string 1", "Code": "sample string 2", "Email": "sample string 3", "Guid": "7ef4d51d-a852-4324-9ed7-6b39b0cda0ab" }
application/octet-stream
Sample:
{"Username":"sample string 1","Code":"sample string 2","Email":"sample string 3","Guid":"7ef4d51d-a852-4324-9ed7-6b39b0cda0ab"}
application/xml, text/xml
Sample:
<TotpRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Security"> <Code>sample string 2</Code> <Email>sample string 3</Email> <Guid>7ef4d51d-a852-4324-9ed7-6b39b0cda0ab</Guid> <Username>sample string 1</Username> </TotpRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TotpViewModelName | Description | Type | Additional information |
---|---|---|---|
IsValid | boolean |
None. |
|
Code | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsValid": true, "Code": "sample string 2" }
application/octet-stream
Sample:
{"IsValid":true,"Code":"sample string 2"}
application/xml, text/xml
Sample:
<TotpViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Security"> <Code>sample string 2</Code> <IsValid>true</IsValid> </TotpViewModel>