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

AuthPrincipal

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

Decorator

Injects the principal (user data) of the current authorized user in the request

@AuthPrincipal() Target: Method parameter

const AuthPrincipal: () => Function;