renewToken
Updates the Token.
virtual int renewToken(const char* token) = 0;
When the Token used for authentication is about to expire or has already expired, you can call this method to pass in a newly generated Token.
Parameters
- token
- The new Token.
Return Values
- 0: Success.
- < 0: Failure.