method Dialect.tokenRequest
Dialect.tokenRequest(
baseUrl: string,
session: Pick<SessionContext, "sessionId" | "authTimes">
): Request

Builds the request for the authenticated page carrying the security token.

Parameters

baseUrl: string

Base URL of the router

session: Pick<SessionContext, "sessionId" | "authTimes">

Session id and login attempt counter

Return Type

Request for the token-bearing page

Usage

import { type Dialect } from "mod.ts";