Brak opisu

ISecurityGuardOpenJAQVerification.h 972B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // ISecurityGuardOpenJAQVerification.h
  3. // SecurityGuardSecurityBody
  4. //
  5. // Created by lifengzhong on 15/11/9.
  6. // Copyright © 2015年 Li Fengzhong. All rights reserved.
  7. //
  8. #ifndef ISecurityGuardOpenJAQVerification_h
  9. #define ISecurityGuardOpenJAQVerification_h
  10. #if TARGET_OS_WATCH
  11. #import <SecurityGuardSDKWatch/Open/IOpenSecurityGuardPlugin.h>
  12. #else
  13. #import <SecurityGuardSDK/Open/IOpenSecurityGuardPlugin.h>
  14. #endif
  15. @protocol ISecurityGuardOpenJAQVerification <NSObject, IOpenSecurityGuardPluginInterface>
  16. /**
  17. * 聚安全防控接口
  18. *
  19. * @param info 其他需要的信息,以key-v形式存于info中,可选
  20. * @param timeout 接口调用超时时间,单位秒,最大不超过22,最小不小于1
  21. *
  22. * @return 聚安全服务器返回的安全token
  23. */
  24. - (NSString*) doJAQVerfificationSync: (NSDictionary*) info
  25. timeout: (NSInteger) timeout;
  26. @end
  27. #endif /* ISecurityGuardOpenJAQVerification_h */