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

x/alosaur/security.ts>CookiesScheme

Alosaur - Deno web framework with many decorators
Go to Latest
class CookiesScheme
Re-export
import { CookiesScheme } from "https://deno.land/x/alosaur@v0.30.0/security.ts";

Constructors

new
CookiesScheme(loginUrl: string)

Methods

private
setIdentity(context: SecurityContext)
authenticate(context: SecurityContext): Promise<void>
signInAsync<I, R>(
context: SecurityContext,
identity: Identity<I>,
claims?: AuthClaims,
): Promise<R>
signOutAsync<T, R>(context: SecurityContext): Promise<R>