Module

x/alosaur/src/security/authentication/jwt-bearer/mod.ts>JwtBearerScheme

Alosaur - Deno web framework with many ES Decorators
Very Popular
Latest
class JwtBearerScheme
import { JwtBearerScheme } from "https://dotland.deno.dev/x/alosaur@v1.1.1/src/security/authentication/jwt-bearer/mod.ts";

Constructors

new
JwtBearerScheme(
algorithm: Algorithm,
key: CryptoKey,
expires?: number,
)

Methods

authenticate(context: SecurityContext): Promise<void>
signInAsync<I, R>(context: SecurityContext, identity: Identity<I>): Promise<R>
signOutAsync<T, R>(context: SecurityContext): Promise<R>