About account sessions

Overview

An account session is created every time when a user logs in and persists until it expires, or the user is logged out.

📘

To learn more about FanHero accounts, read About Accounts.

Properties of an account session object

NameTypeDescription
id_tokenStringThe JWT token for authentication.
refresh_tokenStringRefresh JWT token. By default, same as id_token.
expires_inNumberNumber of seconds after wich the session expires. By default, equal to 3600 seconds.
auth_providerStringThe name of the website used to sign in if the user didn't log in through FanHero.