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
Very Popular
Go to Latest
interface AuthInterface
import { type AuthInterface } from "https://deno.land/x/alosaur@v0.31.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>