Updated at: 2022-02-24 GMT+08:00

Stopping Periodically Refreshing a Token

Typical Scenario

An NA calls this API to stop periodically refreshing the accessToken. Once the stopRefreshTokenTimer method is called, the accessToken cannot be null.

API Function

This API is used to stop automatic obtaining of a new accessToken and close the thread started by the stopRefreshTokenTimer method.

Note

After the stopRefreshTokenTimer method is call, the accessToken in the request for calling another service API cannot be null.

API Description

1
void stopRefreshTokenTimer()

Class

Authentication

Parameter Description

N/A

Return Value

void

close