Module

x/alosaur/security.ts>CookiesScheme

Alosaur - Deno web framework with many decorators
Very Popular
Go to Latest
class CookiesScheme
import { CookiesScheme } from "https://dotland.deno.dev/x/alosaur@v0.34.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>
import CookiesScheme
import { CookiesScheme } from "https://dotland.deno.dev/x/alosaur@v0.34.0/security.ts";