GET api/pod/sso/VerifyOtp?UserId={UserId}&Otp={Otp}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserId

string

Required

Otp

string

Required

Body Parameters

None.

Response Information

Resource Description

AccessTokenViewModel
NameDescriptionTypeAdditional information
Data

OAuthResponseSrv

None.

HasErrors

boolean

None.

Messages

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Access_Token": "sample string 1",
    "Expires_In": 2,
    "Id_Token": "sample string 3",
    "Refresh_Token": "sample string 4",
    "Scope": "sample string 5",
    "Code": "sample string 6",
    "Token_Type": "sample string 7"
  },
  "HasErrors": false,
  "Messages": []
}

application/xml, text/xml

Sample:
<AccessTokenViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.PodAPI.Models">
  <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Barg.WebAPI.Models" />
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/POD_SSO.Model.OAuth2.ServiceOutput">
    <d2p1:Access_Token>sample string 1</d2p1:Access_Token>
    <d2p1:Code>sample string 6</d2p1:Code>
    <d2p1:Expires_In>2</d2p1:Expires_In>
    <d2p1:Id_Token>sample string 3</d2p1:Id_Token>
    <d2p1:Refresh_Token>sample string 4</d2p1:Refresh_Token>
    <d2p1:Scope>sample string 5</d2p1:Scope>
    <d2p1:Token_Type>sample string 7</d2p1:Token_Type>
  </Data>
</AccessTokenViewModel>