Versions Compared

Key

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

...

The following example will list all OOBA tokens:


Method: /auth/listTokenAssignments
Parameters:

...

Anchor
_Toc341972349
_Toc341972349
/auth/logon

Examples 1: OTP login
Method:/auth/logon
Parameters:

Code Block
languagejs
{
	"application":
	{
		"id":"appid"
	},
	"user":
	{
		"id":"userid"
	},
	"token":
	{
		"serial":"10000000"
	},
	"credential":
	{
		"otp":"123456",
		//"cc":"121212" // if verifyResponse is required
	}
}

Examples 2: OOBA login
Method: /auth/logon
Parameters:

Code Block
languagejs
{
	"application":
	{
		"id":"appid"
	},
	"user":
	{
		"id":"userid"
	},
	"token":
	{
		"serial":"110000035"
	},
	"credential":
	{
		"method":"OOBA",
		"tokenId":"bc650db324ef8e2873444e9e1001ac07",
	}
}


Response:

Code Block
languagejs
{
	"error":0
}

...