MoroJSoro JS
DocsBenchmarksPlaygroundMigrate
GitHubGet started

Technical

API Reference & Architecture

DocsCLITechnical

Docs for @morojs/moro v1.8.0

Technical
API
Functions
BearerToken

@morojs/moro


@morojs/moro / bearerToken

Function: bearerToken()

bearerToken(options?): object

Defined in: src/core/middleware/built-in/auth/core.ts:367

Parameters

options?

BearerTokenOptions = {}

Returns

object

expiresIn

expiresIn: number

refreshTokenExpiresIn

refreshTokenExpiresIn: number

refreshTokens

refreshTokens: boolean

type

type: "bearer-token"

Back to bearerTokenView Source
MoroJSoro JS

A TypeScript backend framework with its own native engine. Zero dependencies, four runtimes.

Product

DocsBenchmarksPlaygroundCLIBlog

Compare

vs ExpressMigration guidesRoadmap

Community

GitHubDiscordXExamples

Legal

PrivacyTermsAbout
© CM Ventures, Inc. Built withfor the TypeScript community.