CosCredential class

临时云 API 凭据

Constructors

CosCredential({required String tmpSecretId, required String tmpSecretKey, required String sessionToken})
CosCredential.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionToken → String
请求时需要用的 token 字符串
final
tmpSecretId → String
临时密钥 Id
final
tmpSecretKey → String
临时密钥 Key
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited