Class PlayerInfo
Contains Player Information
Inherited Members
Namespace: Unity.Services.Authentication
Assembly: solution.dll
Syntax
public sealed class PlayerInfo
Properties
| Name | Description |
|---|---|
| CreatedAt | Player Creation DateTime in UTC |
| Id | Player Id |
| Identities | Player Identities |
| LastPasswordUpdate | Last time the password was updated for the username/password account or null if none is set |
| Username | Username associated with the username/password account or null if none is set |
Methods
| Name | Description |
|---|---|
| GetAppleGameCenterId() | Returns the player's AppleGameCenter teamPlayerID if one has been linked. |
| GetAppleId() | Returns the player's Sign in with Apple id if one has been linked. |
| GetFacebookId() | Returns the player's facebook id if one has been linked. |
| GetGoogleId() | Returns the player's Google id if one has been linked. |
| GetGooglePlayGamesId() | Returns the player's Google Play Games id if one has been linked. |
| GetOculusId() | Returns the player's Oculus OrgScopedID if one has been linked. |
| GetOpenIdConnectId(string) | Returns the player's id if one has been linked with a given OpenID Connect id provider. |
| GetOpenIdConnectIdProviders() | Get all OpenID Connect id providers linked to the player |
| GetSteamId() | Returns the player's steam id if one has been linked. |
| GetUnityId() | Returns the player's Unity id if one has been linked |