feat(auth): Google/Apple login, named custom providers, identity link/unlink
This commit is contained in:
@@ -23,10 +23,17 @@ await client.player.reload(); // force refetch
|
||||
|
||||
```ts
|
||||
interface PlayerProfile {
|
||||
identities?: PlayerProfileIdentity[];
|
||||
player?: Player;
|
||||
wallets?: Wallet[];
|
||||
}
|
||||
|
||||
interface PlayerProfileIdentity {
|
||||
createdAt: string;
|
||||
provider: string; // 'device' | 'google' | 'apple' | 'custom' | 'custom:<name>'
|
||||
subject: string;
|
||||
}
|
||||
|
||||
interface Player {
|
||||
createdAt?: string;
|
||||
id?: string;
|
||||
|
||||
Reference in New Issue
Block a user