Attributes

Attribute

type

values

default

mandate

comment

tokenAssignment

object

 

 

true

 

code

string

 

 

 

 

starts

date

 

 

 

 

expires

date

 

 

 

 


/challengeCode/create

Examples:
Method:/challengeCode/create
Parameters:
{
"attrs":
[
"tokenAssignment.user":{"id":userid},
"tokenAssignment.token":{"id":tokenid},
//or
//"tokenAssignment.id":asid
]
}
Response:
{
"error":0,
"result":{"id":1, "code":"xxx", starts:"xxx", expires:"xxx"}
}

/challengeCode /delete

/challengeCode /get

/challengeCode /set

/challengeCode /search




  • No labels