@propelauth/express
Advanced tools
Comparing version 2.0.6 to 2.0.7
/// <reference types="qs" /> | ||
import { NextFunction, Request, Response } from "express"; | ||
import { BaseAuthOptions, User } from "@propelauth/node"; | ||
export declare function initAuth(opts: BaseAuthOptions): { | ||
export interface AuthOptions extends BaseAuthOptions { | ||
debugMode?: boolean; | ||
} | ||
export declare function initAuth(opts: AuthOptions): { | ||
requireUser: (req: Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction) => Promise<void>; | ||
@@ -6,0 +9,0 @@ optionalUser: (req: Request<import("express-serve-static-core").ParamsDictionary, any, any, import("qs").ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction) => Promise<void>; |
import { BaseAuthOptions, User, OrgMemberInfo } from "@propelauth/node"; | ||
declare type AuthOptions = BaseAuthOptions; | ||
export type { BaseAuthOptions, AuthOptions, User, OrgMemberInfo }; | ||
export { initAuth } from "./auth"; | ||
export type { BaseAuthOptions, User, OrgMemberInfo }; | ||
export { initAuth, AuthOptions } from "./auth"; | ||
export type { RequireOrgMemberArgs } from "./auth"; | ||
@@ -6,0 +5,0 @@ export type { TokenVerificationMetadata, OrgQueryResponse, OrgQuery, UsersQuery, UsersInOrgQuery, UsersPagedResponse, CreateUserRequest, UpdateUserMetadataRequest, UpdateUserEmailRequest, CreateMagicLinkRequest, MagicLink, } from "@propelauth/node"; |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
4011856
43082