firebase:: auth:: GameCenterAuthProvider
#include <credential.h>
GameCenter (Apple) auth provider.
Summary
Public static attributes |
|
---|---|
kProviderId
|
const char *const
The string used to identify this provider.
|
Public static functions |
|
---|---|
GetCredential()
|
Future< Credential >
Generate a credential from GameCenter for the current user.
|
GetCredentialLastResult()
|
Future< Credential >
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 attributes
kProviderId
const char *const kProviderId
The string used to identify this provider.
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.
|