Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MandarineSecurity.Auth.RequestAuthObj

import type { MandarineSecurity } from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/mod.ts"; 

const { RequestAuthObj } = MandarineSecurity.Auth;

Data present in request.authentication AUTH_SES_ID refers to the session id with the data of the user that was logged in through Mandarine's built-in authentication AUTH_EXPIRES refers to the time when the session will expire AUTH_PRINCIPAL refers to all the data that was loaded (following the UserDetails implementation)

interface RequestAuthObj {
AUTH_EXPIRES: Date;
AUTH_PRINCIPAL: any;
AUTH_SES_ID: string;
}

§Properties

§
AUTH_EXPIRES: Date
[src]
§
AUTH_PRINCIPAL: any
[src]
§
AUTH_SES_ID: string
[src]