firebase:: auth:: GameCenterAuthProvider
#include <credential.h>
GameCenter (Apple) auth provider.
Summary
Public static attributes | |
|---|---|
kProviderId | const char *constThe string used to identify this provider. |
Public static functions | |
|---|---|
GetCredential() | Generate a credential from GameCenter for the current user. |
GetCredentialLastResult() | Get the result of the most recentGetCredential() call. |
IsPlayerAuthenticated() | boolTests to see if the current user is signed in to GameCenter. |
Public static attributes
kProviderId
constchar*constkProviderId
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 | aFuture that will be fulfilled with the resulting credential. |
GetCredentialLastResult
Future<Credential>GetCredentialLastResult()
Get the result of the most recentGetCredential() call.
| Details | |
|---|---|
| Returns | an object which can be used to retrieve theCredential. |
IsPlayerAuthenticated
boolIsPlayerAuthenticated()
Tests to see if the current user is signed in to GameCenter.
| Details | |
|---|---|
| Returns | true if the user is signed in, false otherwise. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-01-23 UTC.