Skip to content
Rishabh Poddar edited this page Sep 29, 2021 · 16 revisions

API blocks:

session

{
   handle: string,
   userId: string,
   userDataInJWT: {...}
}

cookieInfo

{
   token: string,
   expiry: number,
   createdTime: number
}

user

{
   id: string,
   email: string,
   timeJoined: number // this is only in CDI >= 2.5
}

third party user

{
   id: string,
   timeJoined: number,
   email: string,
   thirdParty: {
      id: string,
      userId: string
   }
}

third party email password user

{
   id: string,
   timeJoined: number,
   email: string,
   thirdParty?: {
      id: string,
      userId: string
   }
}
Clone this wiki locally