brainCloud uses string identifiers to represent platforms across three distinct contexts: client OS platforms (the device or runtime the game runs on), identity types (the credential provider used to authenticate), and social platform codes (used when syncing friends from external networks). This article lists every defined value for each context.
1. Client OS Platforms
These identifiers represent the device or operating system the brainCloud client is running on. They are passed when initializing the brainCloud client and are used for platform-targeted features such as promotions, pricing, and analytics segmentation.
String ID | Platform | Notes |
| Apple iOS | |
| Apple tvOS | |
| Apple macOS | |
| Apple watchOS | |
| Apple visionOS | |
| Google Play Android | |
| Amazon (Fire OS / Kindle) | |
| Windows (PC) | |
| Windows Phone | |
| Linux | |
| Web (browser-based) | |
| Facebook (Canvas app) | |
| Steam (PC/Mac via Steam) | |
| Oculus (Meta VR) | |
| Nintendo (Switch) | |
| PlayStation 3 | |
| PlayStation 4 / PS5 | |
| PlayStation Vita | |
| Xbox 360 | |
| Xbox One / Series X|S | |
| Nintendo Wii / Wii U | |
| Roku | |
| Tizen (Samsung smart devices) | |
| BlackBerry | |
| Unknown / unspecified | |
| Mac OS X | Deprecated — use |
| Windows Phone 8 | Deprecated — use |
2. Identity / Authentication Types
Identity types identify which credential provider was used to authenticate a player. They are used in authentication API calls (e.g. AuthenticateGoogle, AuthenticateUniversal) and are stored on the player's profile to track all linked identities.
String ID | Provider | Notes |
| Anonymous | No credential — device-bound guest login |
| Universal | Username and password managed by brainCloud |
| Email / Password | Email address and password |
| Sign in with Apple | |
| Apple Game Center | |
| Google Play Games | |
| Google OpenID Connect | For non-Play platforms using Google OAuth |
| ||
| Facebook Limited Login | iOS 14.5+ privacy-limited Facebook login |
| Steam | |
| PlayStation Network (PS4) | |
| PlayStation Network (PS5) | Maps to |
| Nintendo (NSA / Switch) | |
| Oculus / Meta | |
| Ultra | |
| Microsoft Account (Xbox) | |
| Twitter / X | |
| Blockchain wallet | |
| External authentication | Custom auth server integration |
| Handoff | Used for cross-platform token handoff |
| Set-top Box Handoff | Handoff for set-top box (TV) devices |
| Portal User | brainCloud portal admin accounts |
| Parse | Legacy Parse migration identity |
3. Social / Friend Platform Codes
These short codes are used in the Friends service when syncing or querying friends from external social networks (e.g. GetFriendsFromPlatform, ListFriends).
Platform Code | Platform Name |
| brainCloud (internal friends) |
| |
| Steam |
| PlayStation Network |
Notes
Client OS platform IDs are case-sensitive and must be passed exactly as shown above.
Identity type strings are also case-sensitive. Use the exact casing shown (e.g.
GoogleOpenId, notGOOGLEOPENID).PlaystationNetwork5is accepted as an identity type for PS5 authentication but is treated identically toPlaystationNetworkat the credential storage level.MAC_OS_XandWINP8are deprecated client OS platform IDs and should be replaced withMACandWINPrespectively in any new integrations.
