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

x/alosaur/src/security/authentication/cookies/mod.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.29.0/src/security/authentication/cookies/mod.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>