9 #ifndef INCLUDE_FUNAPI_SERVICE_APPLE_GAME_CENTER_AUTHENTICATION_H_ 10 #define INCLUDE_FUNAPI_SERVICE_APPLE_GAME_CENTER_AUTHENTICATION_H_ 17 enum AppleGameCenterAuthErrorCode {
19 kCertificateVerificationFailure,
22 kInvalidCertificateIssuer,
24 kInvalidAuthParameter,
26 kAuthenticationSuccess
32 const string &bundle_id,
const string &player_id,
33 const string &public_key_url,
const std::vector<uint8_t> &signature,
34 const std::vector<uint8_t> &salt,
const uint64_t timestamp);
38 string public_key_url;
39 std::vector<uint8_t> signature;
40 std::vector<uint8_t> salt;
47 const string &bundle_id,
const string &player_id,
48 const string &public_key_url,
const string &b64_signature,
49 const string &b64_salt,
const uint64_t timestamp);
53 string public_key_url;
64 AppleGameCenterAuthErrorCode error_code;
72 bool error)> AppleGameCenterAuthenticationResponseHandler;
77 bool error)> AppleGameCenterAuthenticationResponseHandler2;
82 const AppleGameCenterAuthenticationResponseHandler &handler,
83 size_t timeout_in_ms = 0);
88 const AppleGameCenterAuthenticationResponseHandler2 &handler,
89 size_t timeout_in_ms = 0);
93 #endif // INCLUDE_FUNAPI_SERVICE_APPLE_GAME_CENTER_AUTHENTICATION_H_
Definition: apple_game_center_authentication.h:60
Definition: apple_game_center_authentication.h:45
Definition: apple_game_center_authentication.h:30