WCF
Code Block | ||||
---|---|---|---|---|
| ||||
AuthServerSessionTokensResponse ExpireSessionToken(string authServerPartnerLoginName,
string authServerPartnerLoginPassword,
string authServerPartnerUserLoginName,
string sessionTokenId); |
WCF parameter | data type | description |
---|---|---|
authServerPartnerLoginName | string | SurePassId account login name |
authServerPartnerLoginPassword | string | SurePassId account login key |
authServerPartnerUserLoginName | string | User Optional user account login name |
sessionTokenId | string | |
Code Block | ||||
---|---|---|---|---|
| ||||
AuthServerSessionTokensResponse resp = ExpireSessionToken("accountLogin",
"accountKey",
string.Empty,
"s3w4e5t3edfvsdvdf89009&&teyuhtry"); |
Code Block | ||||
---|---|---|---|---|
| ||||
if (resp.ErrorCode != 0) { message.Text = resp.ErrorMsg; return false; } |
REST
REST parameter | data type | description | ||
---|---|---|---|---|
spAccountLoginName | string | SurePassId account login name | ||
spAccountLoginKey | string | SurePassId account login key | ||
username | string | user account login name | ||
type | string | p1 | expire_session_token | |
sessionTokenId | string |
Code Block | ||||
---|---|---|---|---|
| ||||
...