OpenSecurityGuardParamContext.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //
  2. // OpenSecurityGuardSDK version 2.1.0
  3. //
  4. #import <Foundation/Foundation.h>
  5. /**
  6. * OpenSecuritGuardSDK的参数结构体
  7. */
  8. @interface OpenSecurityGuardParamContext : NSObject
  9. /**
  10. * 应用当前使用的appkey
  11. */
  12. @property (nonatomic, strong) NSString* appKey;
  13. /**
  14. * 调用接口的接口的类型标识,类型定义见各component的头文件定义
  15. */
  16. @property (nonatomic, assign) NSInteger requestType;
  17. /**
  18. * 传入业务参数使用的dictionary,使用的key值见各component的头文件定义
  19. */
  20. @property (nonatomic, strong) NSMutableDictionary* paramDict;
  21. /**
  22. * 根据传入的参数生成参数结构体对象
  23. *
  24. * @param appKey appkey,应用当前使用的appkey
  25. * @param paramDict 存储业务参数的dictionary对象
  26. * @param requestType 请求类型
  27. *
  28. * @return 生成的参数结构体对象, autorelease对象
  29. */
  30. + (OpenSecurityGuardParamContext*) createParamContextWithAppKey: (NSString*) appKey
  31. paramDict: (NSDictionary*) paramDict
  32. requestType: (NSInteger) requestType;
  33. @end