Initialize the credential for temporary access.
- (instancetype)initWithAccessKey:(NSString *)accessKey secretKey:(NSString *)secretKey stsToken:(NSString *)stsToken authVersion:(OBSAuthVersion)authVersion
Parameters
accessKey |
AK in the temporary access key |
secretKey |
SK in the temporary access key |
stsToken |
Security token |
authVersion |
Authentication version (OBSAuthVersionV2 OBSAuthVersionV4) |
Return Value
Object obtained after the initialization
Declared In
OBSServiceCredentialProvider.h