Stores fields related to the current extension user, either a viewer or the broadcaster. These fields are automatically updated by the SDK.
Defines the current user's role on Twitch relative to the current channel being viewed. May be "viewer" if the user is simply viewing the channel, "moderator" if the user is a moderator of the channel or "broadcaster" if the user is also the broadcaster of the channel.
Defines the video mode for the current user. This may be "default" for the default windowed viewing experience on Twitch, "fullscreen" for the fullscreen, video-only mode or "theatre" for the video full window-width.
Returns whether or not the current extension user is anonymous. Twitch defines an anonymous user as one who is not logged in to the channel page running this extension, or one who has not opted-in to sharing auth information with this extension.
True if the user is not logged in to Twitch or has not granted access to their Twitch ID.
Attempts to parse the provided JWT and persist any found information in store.
The auth JWT token as returned from the auth harness.
Returns a date object that is based on the Muxy server time.
Stores values from a new auth token in the local store.
An auth JWT with updated user information.
Generated using TypeDoc