Type alias Session

Session: AuthenticatedSession | {
    access: null;
    accessExpiresAt: null;
    refresh?: string | null;
    refreshExpiresAt?: Date | null;
    status: "unauthenticated" | "loading";
}

Type declaration

  • access: null
  • accessExpiresAt: null
  • Optional refresh?: string | null
  • Optional refreshExpiresAt?: Date | null
  • status: "unauthenticated" | "loading"

Generated using TypeDoc