APayAuthInfo.h 839 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // APAuthInfo.h
  3. // AliSDKDemo
  4. //
  5. // Created by 方彬 on 14-7-18.
  6. // Copyright (c) 2014年 Alipay.com. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface APayAuthInfo : NSObject
  10. @property(nonatomic, copy)NSString *appID;
  11. @property(nonatomic, copy)NSString *pid;
  12. @property(nonatomic, copy)NSString *redirectUri;
  13. /**
  14. * 初始化AuthInfo
  15. *
  16. * @param appIDStr 应用ID
  17. * @param productIDStr 产品码 该商户在aboss签约的产品,用户获取pid获取的参数
  18. * @param pidStr 商户ID 可不填
  19. * @param uriStr 授权的应用回调地址 比如:alidemo://auth
  20. *
  21. * @return authinfo实例
  22. */
  23. - (id)initWithAppID:(NSString *)appIDStr
  24. pid:(NSString *)pidStr
  25. redirectUri:(NSString *)uriStr;
  26. - (NSString *)description;
  27. - (NSString *)wapDescription;
  28. @end