refreshToken method
Refresh the access token and return the new token Returns null if refresh failed
Implementation
@override
Future<String?> refreshToken() async {
try {
final handler = _customRefreshHandler;
if (handler != null) {
return await handler();
}
// Default implementation returns null
// Users should provide custom refresh handler
return null;
} catch (e) {
return null;
}
}