initWithSessionCredential method
设置临时秘钥提供器
Implementation
Future<void> initWithSessionCredential(IFetchCredentials iFetchCredentials) async {
if (!_initialized) {
_initialized = true;
_iFetchCredentials = iFetchCredentials;
return await _cosApi.initWithSessionCredential();
} else {
if (kDebugMode) {
print("COS Service has been inited before.");
}
}
}