...
Code Block |
---|
language | js |
---|
title | Parameters |
---|
|
{
"attrs":
[
"product":
{
"manufacturerCode":"DN",
"productCode":"MT"
},
"user":
{
"domain.name":"domain.com",
"loginNam":"john.smith"
}
"pin": "tokenpin"
]
} |
Code Block |
---|
|
{
"error":0,
"result":
{
"id": "tokenid1"
}
} |
...
Code Block |
---|
|
domain,loginName,manufacturerCode,productCode,serial,status,pin
"test domain", "john.smith", "DN", "MT", "10000", "ACTIVE", "1234" |
Anchor |
---|
| token_download_offline_data |
---|
| token_download_offline_data |
---|
|
/token/downloadOfflineDataExamples:
Method:/token/downloadOfflineData
Code Block |
---|
language | js |
---|
title | Parameters |
---|
|
{
"application": {
"name": "test-desktop-logon" // has to be the application name in current implementation
},
"encryptionKey":"encryption key", // optional
"tokens": [
{
"id": "df2aac1138fe109b7a7f30c70ede1217" // or other token attributes, serial etc
},
{
"id": "ccd27d2f4dc6ca67430f042578847105"
},
{
"id": "1ee19c081fb26e9461f51e330069a978"
}
],
"user": {
"id": "userid" // "loginName": "acme\\john.smith" etc
},
"return": {
"tokenAssignment": [
"*"
],
"user": [
"loginName",
"email",
"userPrincipalName",
"domain.name",
"domain.netbiosName",
"domain.dnsName"
]
}
} |
Code Block |
---|
|
{
"error": 0,
"message": "Succeeded",
"result": {
"offlineData": "encrypted data encoded in base64"
}
} |