iFun Engine API  1.0.0-b6053
Great Technology for Great Games
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

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