TAICommonParam.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // TAICommonParam.h
  3. // TAISDK
  4. //
  5. // Created by kennethmiao on 2018/12/25.
  6. // Copyright © 2018年 kennethmiao. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface TAICommonParam : NSObject
  10. /**
  11. * 账号应用id
  12. */
  13. @property (nonatomic, strong) NSString *appId;
  14. /**
  15. * 超时时间(默认30秒)
  16. */
  17. @property (nonatomic, assign) NSInteger timeout;
  18. /**
  19. * 重试次数(默认0次)
  20. */
  21. @property (nonatomic, assign) NSInteger retryTimes;
  22. /**
  23. * secretId
  24. */
  25. @property (nonatomic, strong) NSString *secretId;
  26. /**
  27. * secretKey
  28. * @brief 使用内部签名,此处必填
  29. */
  30. @property (nonatomic, strong) NSString *secretKey;
  31. /**
  32. * token
  33. * @brief 临时secretKey方案此处必填
  34. */
  35. @property (nonatomic, strong) NSString *token;
  36. /**
  37. * 时间戳
  38. * @brief 使用外部签名,此处必填
  39. */
  40. @property (nonatomic, assign) NSInteger timestamp;
  41. /**
  42. * 签名
  43. * @brief 使用外部签名,此处必填(https://cloud.tencent.com/document/product/1004/30611 第三步)
  44. */
  45. @property (nonatomic, strong) NSString *signature;
  46. @end