🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@bedrock/authn-token-http

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bedrock/authn-token-http

HTTP API for bedrock-authn-token

latest
Source
npmnpm
Version
9.0.0
Version published
Weekly downloads
27
-20.59%
Maintainers
0
Weekly downloads
 
Created
Source

bedrock-authn-token-http

HTTP API for bedrock-authn-token

Usage

This module requires the use of Express sessions. There are two requirements for properly implementing sessions in a Bedrock application.

First, Express sessions must be enabled via the Bedrock config.

import bedrock from 'bedrock';
import 'bedrock-express';

bedrock.config.express.useSession = true;

Second, an Express session store must be integrated into the Bedrock application. bedrock-session-mongod is commonly used for this purpose. Without a proper session store, the in-memory store included with Express will cause memory leaks.

Keywords

bedrock

FAQs

Package last updated on 08 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts