Skip to content

Commit

Permalink
考虑到sts信息有过期的情况,将stsTokenCredentialProvider置为废弃,建议使用OSSAuthCredentialP…
Browse files Browse the repository at this point in the history
…rovider或者继承它的子类来使用
  • Loading branch information
duan007a committed Oct 29, 2018
1 parent 024161f commit 749a826
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AliyunOSSSDK/OSSModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ TODOTODO
/**
The STS token's credential provider.
*/
__attribute__((deprecated("Please use OSSAuthCredentialProvider or its subClass instead!")))
@interface OSSStsTokenCredentialProvider : NSObject <OSSCredentialProvider>
@property (nonatomic, copy) NSString * accessKeyId;
@property (nonatomic, copy) NSString * secretKeyId;
Expand Down

0 comments on commit 749a826

Please sign in to comment.