Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/xserver/src/session.ts>default#secret

X-Server a Deno server module with middleware
Go to Latest
method default.prototype.secret
import { default } from "https://deno.land/x/xserver@5.3.0/src/session.ts";

The secret to use to encrypt/decrrypt the cookies.

Parameters

secret: string

Returns

Session