OBJECT

CurrentUser

Signed in customers information.

link GraphQL Schema definition

1type CurrentUser {
2
3# Unique identifier for a user
4id: ID
5
6# DEPRECATED: use obfuscatedEmail
7email: String
8
9# The user's obfuscated email address. Ex: c******e@gmail.com.
10obfuscatedEmail: String
11
12# Details if the customer is signed in
13isSignedIn: Boolean!
14
15# Details if the customer is signed up for Twitch Prime. This will be true if
16# the user is Amazon Prime and they've gone through the Twitch Prime signup flow.
17isTwitchPrime: Boolean!
18
19# Details if the customer is signed up for Amazon Prime.
20isAmazonPrime: Boolean!
21
22# The Twitch Accounts associated with the current signed in user.
23twitchAccounts: [TwitchAccount!]
24
25# The first name of the current signed in user. Will be blank if the customer
26# does not have a first name (there are valid customer in this state).
27firstName: String
28
29# The full name of the current signed in user. Will be blank if the customer
30# does not have a full name (there are valid customer in this state).
31fullName: String
32
33# The Twitch Prime signup status of the user.
34primeSignupStatus: PrimeSignupStatus!
35
36# The url for additional mobile verification/setup for Twitch Prime signup.
37# Currently not available for ROW countries.
38mobileVerificationUrl: String
39
40# The users preferences across Amazon and Twitch Prime
41preferences: UserPreferences
42
43}