9 #ifndef INCLUDE_FUNAPI_SERVICE_AUTHENTICATION_H_ 10 #define INCLUDE_FUNAPI_SERVICE_AUTHENTICATION_H_ 18 typedef string AuthenticationKey;
24 AuthenticationKey MakeFacebookAuthenticationKey(
25 const string &facebook_access_token);
31 AuthenticationKey MakeGooglePlusAuthenticationKey(
32 const string &google_client_id,
33 const string &google_access_token);
39 AuthenticationKey MakeNexonToyAuthenticationKey(
41 const string &client_id,
43 const string &np_token);
48 const string &local_account,
49 const AuthenticationKey &key);
52 AuthenticationKey authentication_key;
58 AccountAuthenticationResponse(
const int64_t &response_reason_code,
59 const string &response_reason_description);
63 string reason_description;
69 const string &local_account,
70 const AuthenticationKey &key);
73 AuthenticationKey authentication_key;
79 explicit AccountPersonalInfoResponse(
80 const PlayerAccountVector &friend_accounts);
81 AccountPersonalInfoResponse(
82 const int64_t &response_reason_code,
83 const string &response_reason_description);
87 string reason_description;
88 PlayerAccountVector friends;
94 const bool &error)> AuthenticationResponseHandler;
99 const bool &error)> PersonalInfoResponseHandler;
104 FUNAPI_DLL_VISIBILITY
106 const AuthenticationResponseHandler &handler);
109 FUNAPI_DLL_VISIBILITY
115 FUNAPI_DLL_VISIBILITY
117 const PersonalInfoResponseHandler &handler);
120 FUNAPI_DLL_VISIBILITY
126 #endif // INCLUDE_FUNAPI_SERVICE_AUTHENTICATION_H_
Account Id.
Definition: player_account.h:20
Definition: authentication.h:46
Definition: authentication.h:67
Definition: authentication.h:77
Definition: authentication.h:56