Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
_Toc341972348
_Toc341972348
/auth/getLogonSteps

Parameters:

Code Block
languagejs
{
	
Wiki Markup
+Examples:+
Method:/auth/getLogonSteps
Parameters: 
\{
 "application":
\	{
		"id": "appid"
\	},
	"returnuser":\["challengResponse", "checkStaticPass","name"\]
\}
Response: 
\{
 
	{
		"loginName": "user login name"
	},
	"return":["name","challengResponse","authenticators"]
}

Response:

Code Block
languagejs
{
	"error":0,
 	"result":\[
	{
		total:32, 
		rows:\[...\]\]
\}
\\
\\
\\
		[
			{
				"name": "step 1",
				"challengResponse": false,
				"authenticators":
				[
					{code:"OTP", name:"One-Time Password"}
				]
			},
			{
				"name": "step 2",
				"challengResponse": false,
				"authenticators":
				[
					{code:"SPASS", name:"Static Password"}
				]
			}
		]
	}
}

Anchor
_Toc341972349
_Toc341972349
/auth/logon

...

Examples:
Method:/auth/syncToken
Parameters:

Code Block
languagejs
{

...


	"user":

...


	{
		"id":userid

...


	},

...


	"token":

...


	{
		"serial":"10000000"

...


	},

...


	"credential":"otp1,otp2"

...


}


Response:

Code Block
languagejs
{

...


	"error":0

...


}

Anchor
_Toc341972356
_Toc341972356
/auth/downloadToken

...