Skip to content
Contentia
Search
K
Main Navigation
Get Started
Adapters
Reference
Appearance
Menu
Return to top
On this page
TypeScript API
/ contentia/auth
contentia/auth
Classes
InsufficientScopeError
Interfaces
AuthContext
AuthUser
MintPatDeps
MintPatInput
MintPatResult
PatRecord
ResolveBearerDeps
SessionVerificationResult
Type Aliases
GranularScope
Scope
TokenType
Variables
ADMIN_SCOPE
ALL_SCOPES
GRANULAR_SCOPES
TOKEN_PREFIX
WILDCARD_SCOPE
Functions
generateToken
hashesEqual
hashToken
hasRequiredScope
hasScope
isPatToken
isScope
mintPersonalAccessToken
normalizeScopes
requireScope
resolveBearer
tokenPreview