| Anchor | ||||
|---|---|---|---|---|
|
Attribute | type | values | default | mandate | comment |
name | string |
|
|
|
|
description | string |
|
|
|
|
authenticators | coll |
|
| true |
|
logonProcedure | object |
|
| true |
|
challengResponse | Boolean |
| False |
|
|
checkStaticPass | Boolean |
| True |
|
|
| Anchor | ||||
|---|---|---|---|---|
|
| Wiki Markup |
|---|
+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\}
\}
\\ |
| Anchor | ||||
|---|---|---|---|---|
|
| Wiki Markup |
|---|
+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"\}
\]
\}
\}
\} |
| Anchor | ||||
|---|---|---|---|---|
|
| Anchor | ||||
|---|---|---|---|---|
|
| Anchor | ||||
|---|---|---|---|---|
|