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

Go to the source code of this file.

Classes

struct  fun::AppleGameCenterAuthenticationRequest
 
struct  fun::AppleGameCenterAuthenticationRequest2
 
struct  fun::AppleGameCenterAuthenticationResponse
 

Typedefs

typedef function< void(const
AppleGameCenterAuthenticationRequest
&request, const
AppleGameCenterAuthenticationResponse
&response, bool error)> 
fun::AppleGameCenterAuthenticationResponseHandler
 
typedef function< void(const
AppleGameCenterAuthenticationRequest2
&request, const
AppleGameCenterAuthenticationResponse
&response, bool error)> 
fun::AppleGameCenterAuthenticationResponseHandler2
 

Enumerations

enum  AppleGameCenterAuthErrorCode {
  kUnknownError, kCertificateVerificationFailure, kCurlError, kInvalidCertificate,
  kInvalidCertificateIssuer, kInvalidHttpStatus, kInvalidAuthParameter, kInvalidPublicKeyUrl,
  kAuthenticationSuccess
}
 

Functions

void fun::Authenticate (const AppleGameCenterAuthenticationRequest &request, const AppleGameCenterAuthenticationResponseHandler &handler, size_t timeout_in_ms=0)
 
void fun::Authenticate (const AppleGameCenterAuthenticationRequest2 &request, const AppleGameCenterAuthenticationResponseHandler2 &handler, size_t timeout_in_ms=0)