QNUpToken.h 473 B

123456789101112131415161718192021222324
  1. //
  2. // QNUpToken.h
  3. // QiniuSDK
  4. //
  5. // Created by bailong on 15/6/7.
  6. // Copyright (c) 2015年 Qiniu. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface QNUpToken : NSObject
  10. + (instancetype)parse:(NSString *)token;
  11. @property (copy, nonatomic, readonly) NSString *access;
  12. @property (copy, nonatomic, readonly) NSString *bucket;
  13. @property (copy, nonatomic, readonly) NSString *token;
  14. @property (readonly) BOOL hasReturnUrl;
  15. - (NSString *)index;
  16. @end