Attributes

Attribute

type

values

default

mandate

comment

name

string

 

 

 

 

description

string

 

 

 

 

authenticators

coll

 

 

true

 

logonProcedure

object

 

 

true

 

challengResponse

Boolean

 

False

 

 

checkStaticPass

Boolean

 

True

 

 


/logonStep/create

Examples:
Method:/logonStep/create
Parameters:
{
"attrs":
{
name:"xxx",
"logonProcedure.id":aid,
"authenticator":["OTP", "OTPoD"]
// or
//"authenticator":[[code:"OTP"], [code:"OTPoD"]]
}
}
Response:
{
"error":0,
"result":{"id":1}
}

/logonStep/get

Examples:
Method:/logonStep/get
Parameters:
{
"match":
[
["id", "=", "123"]
],
"return":
[
["id",{authenticators:[{elements:['code','name']}]}]
]
}
Response:
{
"error":0,
"result":{
"id":1,
"authenticators":
{
"elements":
[
{"code":"OTP","name":"One Time Password"},
{"code":"OTPoD","name":"OTP on Demand"}
]
}
}
}

/logonStep/search

/logonStep/delete

/logonStep/set




  • No labels