Μετάβαση στην κονσόλα

firebase::auth::GameCenterAuthProvider

#include <credential.h>

GameCenter (iOS) auth provider.

Summary

Public static functions

GetCredential()
Generate a credential from GameCenter for the current user.
GetCredentialLastResult()
Get the result of the most recent GetCredential() call.
IsPlayerAuthenticated()
bool
Tests to see if the current user is signed in to GameCenter.

Public static functions

GetCredential

Future< Credential > GetCredential()

Generate a credential from GameCenter for the current user.

Details
Returns
a Future that will be fulfilled with the resulting credential.

GetCredentialLastResult

Future< Credential > GetCredentialLastResult()

Get the result of the most recent GetCredential() call.

Details
Returns
an object which can be used to retrieve the Credential.

IsPlayerAuthenticated

bool IsPlayerAuthenticated()

Tests to see if the current user is signed in to GameCenter.

Details
Returns
true if the user is signed in, false otherwise.