Skip to main content
Version: 7.0.X

getSessionInformation(sessionHandle)

Parameters#

  • sessionHandle
    • type : string

Returns#

  • Promise<SessionInformation> returns all session related information for the given sessionHandle.

Throws#

  • If the sessionHandle does not exist

Type Reference#

SessionInformation#

{
sessionHandle: string,
userId: string,
userDataInDatabase: any,
expiry: number,
userDataInJWT: any,
timeCreated: number,
}
Which frontend SDK do you use?
supertokens-web-js / mobile
supertokens-auth-react