WCF
Code Block | ||||
---|---|---|---|---|
| ||||
AuthServerSessionTokensResponse ExpireSessionToken(string authServerPartnerLoginName, string authServerPartnerLoginPassword, string authServerPartnerUserLoginName, string sessionTokenId); |
...
WCF parameter | data type | description |
---|---|---|
authServerPartnerLoginName | string | SurePassId SurePassID account login name |
authServerPartnerLoginPassword | string | SurePassId SurePassID account login key |
authServerPartnerUserLoginName | string | Optional user account login name |
sessionTokenId | string | The tokenId to be expired and deleted. |
...
Code Block | ||||
---|---|---|---|---|
| ||||
if (resp.ErrorCode != 0) { message.Text = resp.ErrorMsg; return false; } |
...
REST
REST parameter | data type | description |
---|---|---|
spAccountLoginName | string | SurePassId SurePassID account login name |
spAccountLoginKey | string | SurePassId SurePassID account login key |
username | string | User account login name |
type | string | expire_session_token |
sessionTokenId | string | The tokenId to be expired and deleted. |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "errorCode": 0, "errorMessage": "OK", "type": "expire_session_token" } |
...