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

x/alosaur/src/security/authentication/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.35.2/src/security/authentication/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>