GT3Parameter.h 948B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // GT3Parameter.h
  3. // GT3Captcha
  4. //
  5. // Created by NikoXu on 2019/12/10.
  6. // Copyright © 2019 Geetest. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface GT3RegisterParameter : NSObject
  11. /** 验证ID(gt) */
  12. @property (nonatomic, strong) NSString *gt;
  13. /** 验证流水号 */
  14. @property (nonatomic, strong) NSString *challenge;
  15. /** 验证当机状态。@(1) 为正常, @(0) 为宕机。*/
  16. @property (nonatomic, strong) NSNumber *success;
  17. @end
  18. @interface GT3ValidationParam : NSObject
  19. /** 验证初步判定结果。@"1" 通过, @"0" 未通过。*/
  20. @property (nonatomic, strong) NSString *code;
  21. /** 验证结果校验数据。使用该数据,通过 validate 接口进行结果校验,以获得最终验证结果。*/
  22. @property (nullable, nonatomic, strong) NSDictionary *result;
  23. /** 附带的消息。*/
  24. @property (nullable, nonatomic, strong) NSString *message;
  25. @end
  26. NS_ASSUME_NONNULL_END