refreshToken

fun refreshToken(oldToken: OAuthToken = tokenManagerProvider.manager.getToken() ?: throw ClientError( ClientErrorCause.TokenNotFound, "Refresh token not found. You must login first." ), callback: (token: OAuthToken?, error: Throwable?) -> Unit)

토큰 갱신
Refreshes the tokens

Parameters

oldToken

토큰 저장소에 저장된 토큰
Tokens saved in the token manager