APayAuthInfo.h 735 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // APAuthInfo.h
  3. // APAuth
  4. //
  5. // Created by antfin on 17-10-24.
  6. // Copyright (c) 2017年 AntFin. 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 pidStr 商户ID 可不填
  18. * @param uriStr 授权的应用回调地址 比如:alidemo://auth
  19. *
  20. * @return authinfo实例
  21. */
  22. - (id)initWithAppID:(NSString *)appIDStr
  23. pid:(NSString *)pidStr
  24. redirectUri:(NSString *)uriStr;
  25. - (NSString *)description;
  26. - (NSString *)wapDescription;
  27. @end