Versions in this module Expand all Collapse all v1 v1.0.0 Oct 23, 2025 Changes in this version + const ErrorCodeDatabaseThroughputExceeded + const ErrorCodeEncryptionKeyMissing + const ErrorCodeEvaluationModePlayerCountExceeded + const ErrorCodeExpiredXboxLiveToken + const ErrorCodeInvalidXboxLiveToken + const ErrorCodeItemNotFound + const ErrorCodeNotImplemented + const ErrorCodeRequestViewConstraintParamsNotAllowed + const ErrorCodeSignedRequestNotAllowed + const ErrorCodeXboxInaccessible + const ErrorCodeXboxRejectedXSTSExchangeRequest + const ErrorCodeXboxXASSExchangeFailure + const IdentityProviderAndroidDevice + const IdentityProviderApple + const IdentityProviderCustom + const IdentityProviderCustomServer + const IdentityProviderFacebook + const IdentityProviderFacebookInstantGames + const IdentityProviderGameCenter + const IdentityProviderGameServer + const IdentityProviderGooglePlay + const IdentityProviderGooglePlayGames + const IdentityProviderIOSDevice + const IdentityProviderKongregate + const IdentityProviderNintendoSwitch + const IdentityProviderNintendoSwitchAccount + const IdentityProviderOpenIDConnect + const IdentityProviderPSN + const IdentityProviderPlayFab + const IdentityProviderSteam + const IdentityProviderTwitch + const IdentityProviderUnknown + const IdentityProviderWindowsHello + const IdentityProviderXboxLive + const PushNotificationPlatformApplePushNotificationService + const PushNotificationPlatformGoogleCloudMessaging + const RelyingParty + const SubscriptionStatusBillingError + const SubscriptionStatusCancelled + const SubscriptionStatusCustomerDidNotAcceptPriceChange + const SubscriptionStatusFreeTrial + const SubscriptionStatusNoError + const SubscriptionStatusPaymentPending + const SubscriptionStatusProductUnavailable + const SubscriptionStatusUnknownError + const TitleActivationStatusActivatedSteam + const TitleActivationStatusActivatedTitleKey + const TitleActivationStatusNone + const TitleActivationStatusPendingSteam + const TitleActivationStatusRevokedSteam + const UserDataPermissionPrivate + const UserDataPermissionPublic + const UserOriginationAmazon + const UserOriginationAndroid + const UserOriginationApple + const UserOriginationCustomID + const UserOriginationFacebook + const UserOriginationFacebookInstantGamesID + const UserOriginationGameCenter + const UserOriginationGamersFirst + const UserOriginationGoogle + const UserOriginationGooglePlayGames + const UserOriginationIOS + const UserOriginationKongregate + const UserOriginationLoadTest + const UserOriginationNintendoSwitchAccount + const UserOriginationNintendoSwitchDeviceID + const UserOriginationOpenIDConnect + const UserOriginationOrganic + const UserOriginationPSN + const UserOriginationParse + const UserOriginationServerCustomID + const UserOriginationSteam + const UserOriginationTwitch + const UserOriginationUnknown + const UserOriginationXboxLive + type AdCampaignAttribution struct + AttributedAt time.Time + CampaignID string + Platform string + type Character struct + ID string + Name string + Type string + type CharacterInventory struct + ID string + Inventory []ItemInstance + type ContactEmailAddress struct + Address string + Name string + VerificationStatus EmailVerificationStatus + type EmailVerificationStatus string + const EmailVerificationStatusConfirmed + const EmailVerificationStatusPending + const EmailVerificationStatusUnverified + type Error = internal.Error + type Identity struct + EntityToken *entity.Token + LastLoginTime time.Time + NewlyCreated bool + PlayFabID string + ResponseParameters ResponseParameters + SessionTicket string + SettingsForUser UserSettings + TreatmentAssignment TreatmentAssignment + type IdentityProvider interface + Login func(config LoginConfig) (*Identity, error) + type ItemInstance struct + Annotation string + BundleContents []string + BundleParent string + CatalogVersion string + Class string + CustomData map[string]json.RawMessage + DisplayName string + Expiration time.Time + ID string + InstanceID string + PurchaseDate time.Time + RemainingUses int + UnitCurrency string + UnitPrice int + UsesIncrementedBy int + type LinkedPlatformAccount struct + Email string + Platform string + PlatformUserID string + Username string + type Location struct + City string + ContinentCode string + CountryCode string + Latitude int + Longitude int + type LoginConfig struct + CreateAccount bool + CustomTags map[string]any + EncryptedRequest []byte + PlayerSecret string + RequestParameters *RequestParameters + Title title.Title + func (l LoginConfig) Login(path string, body any) (*Identity, error) + type Membership struct + Active bool + Expiration time.Time + ID string + OverrideExpiration time.Time + OverrideSet bool + Subscriptions []Subscription + type PlayerProfile struct + AdCampaignAttributions []AdCampaignAttribution + AvatarURL string + BannedUntil time.Time + ContactEmailAddresses []ContactEmailAddress + Created time.Time + DisplayName string + ExperimentVariants []string + LastLogin time.Time + LinkedAccounts []LinkedPlatformAccount + Locations []Location + Memberships []Membership + Origination string + PlayerID string + PublisherID string + PushNotificationRegistrations []PushNotificationRegistration + Statistics []Statistic + Tags []Tag + Title title.Title + TotalValueToDateInUSD int + ValuesToDates []ValuesToDate + type ProfileConstraints struct + ShowAvatarURL bool + ShowBannedUntil bool + ShowCampaignAttributions bool + ShowContactEmailAddresses bool + ShowCreated bool + ShowDisplayName bool + ShowExperimentVariants bool + ShowLastLogin bool + ShowLinkedAccounts bool + ShowLocations bool + ShowMemberships bool + ShowOrigination bool + ShowPushNotificationRegistrations bool + ShowStatistics bool + ShowTags bool + ShowTotalValueToDateInUSD bool + ShowValuesToDate bool + type PushNotificationRegistration struct + NotificationEndpointARN string + Platform string + type RequestParameters struct + CharacterInventories bool + CharacterList bool + PlayerProfile bool + PlayerStatisticNames []string + PlayerStatistics bool + ProfileConstraints ProfileConstraints + TitleData bool + TitleDataKeys []string + UserAccountInfo bool + UserData bool + UserDataKeys []string + UserInventory bool + UserReadOnlyData bool + UserReadOnlyDataKeys []string + UserVirtualCurrency bool + type ResponseParameters struct + Account UserAccount + CharacterInventories []CharacterInventory + CharacterList []Character + PlayerProfile PlayerProfile + PlayerStatistics []StatisticValue + TitleData map[string]json.RawMessage + UserData UserDataRecord + UserDataVersion int + UserInventory []ItemInstance + UserReadOnlyData UserDataRecord + UserReadOnlyDataVersion int + UserVirtualCurrency map[string]json.RawMessage + UserVirtualCurrencyRechargeTime VirtualCurrencyRechargeTime + type Result internal.Result[T] + type Statistic struct + Name string + Value int + Version int + type StatisticValue struct + Name string + Value int + Version int + type Subscription struct + Active bool + Expiration time.Time + ID string + InitialSubscriptionTime time.Time + ItemID string + Provider string + Status string + type Tag struct + Value string + type TreatmentAssignment struct + Variables []Variable + Variants []string + type UserAccount struct + AndroidDevice UserAndroidDevice + AppleAccount UserAppleAccount + Created time.Time + CustomID UserCustomID + Facebook UserFacebook + FacebookInstantGamesID UserFacebookInstantGamesID + GameCenter UserGameCenter + Google UserGoogle + GooglePlayGames UserGooglePlayGames + IOSDevice UserIOSDevice + Kongregate UserKongregate + NintendoSwitchAccount UserNintendoSwitchAccount + NintendoSwitchDeviceID UserNintendoSwitchDeviceID + OpenID UserOpenID + PSN UserPSN + PlayFabID string + Private UserPrivate + Steam UserSteam + Title UserTitle + Twitch UserTwitch + Username string + Xbox UserXbox + type UserAndroidDevice struct + DeviceID string + type UserAppleAccount struct + SubjectID string + type UserCustomID struct + ID string + type UserDataRecord struct + LastUpdated time.Time + Permission string + Value string + type UserFacebook struct + FullName string + ID string + type UserFacebookInstantGamesID struct + ID string + type UserGameCenter struct + ID string + type UserGoogle struct + Email string + Gender string + ID string + Locale string + Name string + type UserGooglePlayGames struct + PlayerAvatarImageURL string + PlayerDisplayName string + PlayerID string + type UserIOSDevice struct + ID string + type UserKongregate struct + ID string + Name string + type UserNintendoSwitchAccount struct + SubjectID string + type UserNintendoSwitchDeviceID struct + ID string + type UserOpenID struct + ConnectionID string + Issuer string + Subject string + type UserPSN struct + AccountID string + OnlineID string + type UserPrivate struct + Email string + type UserSettings struct + GatherDevice bool + GatherFocus bool + NeedsAttribution bool + type UserSteam struct + ActivationStatus string + Country string + Currency string + ID string + Name string + type UserTitle struct + AvatarURL string + Banned bool + Created time.Time + DisplayName string + FirstLogin time.Time + LastLogin time.Time + Origination string + TitlePlayerAccount entity.Key + type UserTwitch struct + ID string + UserName string + type UserXbox struct + UserID string + UserSandbox string + type ValuesToDate struct + Currency string + TotalValue int + TotalValueAsDecimal string + type Variable struct + Name string + Value string + type VirtualCurrencyRechargeTime struct + Max int + SecondsToRecharge int + Time time.Time + type XBLIdentityProvider struct + TokenSource xsapi.TokenSource + func (prov XBLIdentityProvider) Login(config LoginConfig) (*Identity, error) Other modules containing this package github.com/df-mc/go-playfab/v2