Method SignInWithAppleGameCenterAsync
SignInWithAppleGameCenterAsync(string, string, string, string, ulong, SignInOptions)
Sign in using AppleGameCenter's teamPlayerId. If no options are used, this will create an account if none exist.
Declaration
Task SignInWithAppleGameCenterAsync(string signature, string teamPlayerId, string publicKeyURL, string salt, ulong timestamp, SignInOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | signature | AppleGameCenter's signature |
| string | teamPlayerId | AppleGameCenter's teamPlayerId |
| string | publicKeyURL | AppleGameCenter's publicKeyURL |
| string | salt | AppleGameCenter's salt |
| ulong | timestamp | AppleGameCenter's timestamp |
| SignInOptions | options | Options for the operation |
Returns
| Type | Description |
|---|---|
| Task | Task for the operation |
Exceptions
| Type | Condition |
|---|---|
| AuthenticationException | The task fails with the exception when the task cannot complete successfully due to Authentication specific errors.
|
| RequestFailedException | The task fails with the exception when the task cannot complete successfully.
|