@propelauth/express
Advanced tools
Comparing version 1.2.4 to 1.2.5
@@ -69,1 +69,11 @@ import { Org, User, UserMetadata } from "./user"; | ||
export declare function updateUserEmail(authUrl: URL, apiKey: string, userId: string, updateUserEmail: UpdateUserEmailRequest): Promise<boolean>; | ||
export declare type CreateMagicLinkRequest = { | ||
email: string; | ||
redirectToUrl?: string; | ||
expiresInHours?: string; | ||
createNewUserIfOneDoesntExist?: boolean; | ||
}; | ||
export declare type MagicLink = { | ||
url: string; | ||
}; | ||
export declare function createMagicLink(authUrl: URL, apiKey: string, createMagicLinkRequest: CreateMagicLinkRequest): Promise<MagicLink>; |
/// <reference types="qs" /> | ||
import { NextFunction, Request, Response } from "express"; | ||
import { CreateUserRequest, OrgQuery, OrgQueryResponse, TokenVerificationMetadata, UpdateUserEmailRequest, UpdateUserMetadataRequest, UsersInOrgQuery, UsersPagedResponse, UsersQuery } from "./api"; | ||
import { CreateMagicLinkRequest, CreateUserRequest, MagicLink, OrgQuery, OrgQueryResponse, TokenVerificationMetadata, UpdateUserEmailRequest, UpdateUserMetadataRequest, UsersInOrgQuery, UsersPagedResponse, UsersQuery } from "./api"; | ||
import { Org, User, UserMetadata, UserRole } from "./user"; | ||
@@ -45,2 +45,3 @@ export declare type AuthOptions = { | ||
updateUserEmail: (userId: string, updateUserEmailRequest: UpdateUserEmailRequest) => Promise<boolean>; | ||
createMagicLink: (createMagicLinkRequest: CreateMagicLinkRequest) => Promise<MagicLink>; | ||
UserRole: typeof UserRole; | ||
@@ -47,0 +48,0 @@ }; |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
956762
20
10013