change OAUTH2 access token(a,b)
Group |
Changes the OAuth2 Access Token of the given HTTP(S) channel a to the new one. Returns true for success, false otherwise.
Note: After successful execution of the function you will find the new token in the additional IDs of the channel, in obfuscated form. The expiration time of the token is not changed.
Example
Parameter a |
Parameter b |
Result |
Remark |
123456 |
myNewToken |
true |
|
0 |
myNewToken |
false |
Invalid channel ID. |
123456 |
|
false |
Invalid token (empty). |