...
WCF parameter | data type | description |
---|---|---|
authServerPartnerLoginName | string | SurePassId account login name |
authServerPartnerLoginPassword | string | SurePassId account login key |
authServerPartnerUserLoginName | string | Optional user account login name |
sessionTokenId | string | The tokenId to be expired and deleted. |
Code Block | ||||
---|---|---|---|---|
| ||||
AuthServerSessionTokensResponse resp = ExpireSessionToken("accountLogin", "accountKey", string.Empty, "s3w4e5t3edfvsdvdf89009&&teyuhtry"); |
...
REST parameter | data type | description |
---|---|---|
spAccountLoginName | string | SurePassId account login name |
spAccountLoginKey | string | SurePassId account login key |
username | string | user User account login name |
type | string | expire_session_token |
sessionTokenId | string | The tokenId to be expired and deleted. |
Code Block | ||||
---|---|---|---|---|
| ||||
{
"username": "Mark",
"spAccountLoginName": "accountLogin",
"spAccountLoginKey": "accountKey",
"type": "expire_session_token",
"sessionTokenId": "234234gedf46776547dddd6y54765yerwf"
} |
Code Block | ||||
---|---|---|---|---|
| ||||
{
"errorCode": 0,
"errorMessage": "OK",
"type": "expire_session_token"
} |