getDisabledTokens()
getDisabledTokens() gets an array of up to 10,000 disabled tokens.
Request URL
http://localhost:8080/tmrest/SafeNetTokenManager/getDisabledTokens
Method
POST
Request Parameters
Parameters | Descriptions |
---|---|
naeUser | A Key Manager user with access to the AES and HMAC keys. |
naePassword | The Key Manager user’s password. |
dbUser (optional) | A database user with access to the token table. |
dbPassword (optional) | The database user’s password. |
String startDate | A valid start date from which the disabled tokens are required. If this parameter is null, getDisabledTokens() method returns disabled tokens since the standard base time known as the epoch, namely January 1, 1970. |
String endDate | A valid date until which the disabled tokens are required. If this parameter is null, the getDisabledTokens()method will return the tokens till now. |
String tableName | The token vault from which the disabled tokens are fetched. The table name must be in CAPITAL LETTERS. |
int columnToSearch | Fetch tokens based on their creation date or last access date. |
Returned Values
String array of disabled tokens.
Example
{
"naeUser":"jit",
"naePassword":"xxxxxxxx",
"dbUser":"sa",
"dbPassword":"xxxxxxxx",
"tableName":"test",
"columnToSearch":101
}
Result
{
values: [3]
0:"5544663333"
1:"9852452222"
2:"4568923445"
}