You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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