setToken method
- @override
- OAuthToken token
override
KO: 리다이렉트 방식 로그인으로 서비스 서버에서 발급받은 토큰을 TokenManager에 토큰 할당
EN: Set tokens in the TokenManager that are issued in the service server using Login through redirection
Implementation
@override
Future<void> setToken(OAuthToken token) async {
_currentToken = token;
await _persistToken(token);
SdkLog.i(
'[DefaultTokenManager.setToken] completed | hasRefreshToken=${token.refreshToken != null} expiresAt=${token.expiresAt.toIso8601String()}',
);
}