...
The following example will list all OOBA tokens:
Method: /auth/listTokenAssignments
Parameters:
...
Anchor | ||||
---|---|---|---|---|
|
Examples 1: OTP login
Method:/auth/logon
Parameters:
Code Block | ||
---|---|---|
| ||
{
"application":
{
"id":"appid"
},
"user":
{
"id":"userid"
},
"token":
{
"serial":"10000000"
},
"credential":
{
"otp":"123456",
//"cc":"121212" // if verifyResponse is required
}
} |
Examples 2: OOBA login
Method: /auth/logon
Parameters:
Code Block | ||
---|---|---|
| ||
{
"application":
{
"id":"appid"
},
"user":
{
"id":"userid"
},
"token":
{
"serial":"110000035"
},
"credential":
{
"method":"OOBA",
"tokenId":"bc650db324ef8e2873444e9e1001ac07",
}
} |
Response:
Code Block | ||
---|---|---|
| ||
{ "error":0 } |
...