Gathering detailed insights and metrics for @types/passport-auth0
Gathering detailed insights and metrics for @types/passport-auth0
Gathering detailed insights and metrics for @types/passport-auth0
Gathering detailed insights and metrics for @types/passport-auth0
The repository for high quality TypeScript type definitions.
npm install @types/passport-auth0
Typescript
Module System
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
50,020 Stars
89,737 Commits
30,435 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 12, 2025
Latest Version
1.0.9
Package Id
@types/passport-auth0@1.0.9
Unpacked Size
7.83 kB
Size
2.29 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
npm install --save @types/passport-auth0
This package contains type definitions for passport-auth0 (https://github.com/auth0/passport-auth0).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/passport-auth0.
1import passport = require("passport"); 2import express = require("express"); 3 4declare class StrategyInternal extends passport.Strategy { 5 constructor( 6 options: StrategyInternal.StrategyOptionWithRequest, 7 verify: StrategyInternal.VerifyFunctionWithRequest, 8 ); 9 constructor(options: StrategyInternal.StrategyOption, verify: StrategyInternal.VerifyFunction); 10 11 name: string; 12 authenticate(req: express.Request, options?: object): void; 13} 14 15declare namespace StrategyInternal { 16 interface Profile extends passport.Profile { 17 id: string; 18 displayName: string; 19 gender?: string | undefined; 20 ageRange?: { 21 min: number; 22 max?: number | undefined; 23 } | undefined; 24 profileUrl?: string | undefined; 25 username?: string | undefined; 26 birthday: string; 27 28 _raw: string; 29 _json: any; 30 } 31 32 interface AuthenticateOptions extends passport.AuthenticateOptions { 33 authType?: string | undefined; 34 } 35 36 interface StrategyOption { 37 clientID: string; 38 clientSecret: string; 39 callbackURL: string; 40 domain: string; 41 scopeSeparator?: string | undefined; 42 enableProof?: boolean | undefined; 43 profileFields?: string[] | undefined; 44 state?: boolean | undefined; 45 } 46 47 interface StrategyOptionWithRequest extends StrategyOption { 48 passReqToCallback: true; 49 } 50 interface ExtraVerificationParams { 51 audience?: string | undefined; 52 connection?: string | undefined; 53 prompt?: string | undefined; 54 } 55 56 type VerifyFunction = ( 57 accessToken: string, 58 refreshToken: string, 59 extraParams: ExtraVerificationParams, 60 profile: Profile, 61 done: (error: any, user?: any, info?: any) => void, 62 ) => void; 63 64 type VerifyFunctionWithRequest = ( 65 req: express.Request, 66 accessToken: string, 67 refreshToken: string, 68 extraParams: ExtraVerificationParams, 69 profile: Profile, 70 done: (error: any, user?: any, info?: any) => void, 71 ) => void; 72 73 // NOTE: not true for `export import` statements 74 // eslint-disable-next-line @definitelytyped/strict-export-declare-modifiers 75 export import Strategy = StrategyInternal; 76} 77 78export = StrategyInternal; 79
These definitions were written by John Umeh, Vishnu Sankar, Duncan Hall, and Karl Horky.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 27/30 approved changesets -- score normalized to 9
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More