iFun Engine API  1.0.0-b2936
Great Technology for Great Games
 All Classes Files Functions Variables Typedefs Macros
Classes | Typedefs | Functions
authentication.h File Reference
#include <funapi/player_account.h>
#include <funapi/types.h>

Go to the source code of this file.

Classes

struct  fun::AccountAuthenticationRequest
 
struct  fun::AccountAuthenticationResponse
 
struct  fun::AccountPersonalInfoRequest
 
struct  fun::AccountPersonalInfoResponse
 

Typedefs

typedef string fun::AuthenticationKey
 
typedef function< void(const
AccountAuthenticationRequest
&request, const
AccountAuthenticationResponse
&response, const bool &error)> 
fun::AuthenticationResponseHandler
 
typedef function< void(const
AccountPersonalInfoRequest
&request, const
AccountPersonalInfoResponse
&response, const bool &error)> 
fun::PersonalInfoResponseHandler
 

Functions

void fun::Authenticate (const AccountAuthenticationRequest &request, const AuthenticationResponseHandler &handler)
 
bool fun::AuthenticateSync (const AccountAuthenticationRequest &request, AccountAuthenticationResponse *response)
 
void fun::GetPersonalInfo (const AccountPersonalInfoRequest &request, const PersonalInfoResponseHandler &handler)
 
bool fun::GetPersonalInfoSync (const AccountPersonalInfoRequest &request, AccountPersonalInfoResponse *response)
 
AuthenticationKey fun::MakeFacebookAuthenticationKey (const string &facebook_access_token)
 
AuthenticationKey fun::MakeGooglePlusAuthenticationKey (const string &google_client_id, const string &google_access_token)
 
AuthenticationKey fun::MakeNexonToyAuthenticationKey (int64_t svc_id, const string &client_id, const string &np_sn, const string &np_token)