Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/alosaur/src/security/authentication/mod.ts>AuthInterface

Alosaur - Deno web framework with many decorators
Go to Latest
interface AuthInterface
import { type AuthInterface } from "https://deno.land/x/alosaur@v0.33.1/src/security/authentication/mod.ts";

Methods

identity<T>(): Identity<T> | undefined
signInAsync<T, R>(scheme: AuthenticationScheme, identity: Identity<T>): Promise<R>
signOutAsync<T, R>(scheme: AuthenticationScheme): Promise<R>