The authentication data that gets returned when logging in or refreshing the login.

Type Parameters

  • Role extends string

Constructors

Properties

accessToken: Jwt

The short lived access token.

refreshToken: Jwt

The long lived refresh token.

roles: Role[]

The roles of the user.

userId: string

The id of the user of the jwt.