-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: codebase update * package.json updated * Resolve test and build failures, update deprecated spec file evals, update @types * Remove console log * Push * resolve unsafe optional chaining * ignore strategy class functions --------- Co-authored-by: olusegun odunukan <[email protected]>
- Loading branch information
1 parent
6de1f62
commit 40a23e7
Showing
15 changed files
with
4,053 additions
and
4,135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,3 +76,5 @@ testem.log | |
/typings | ||
/reports | ||
api/.nyc_output | ||
.yarn/cache | ||
.yarn/install-state.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
14.15.0 | ||
18.17.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
export interface AuthOptions { | ||
authorizationURL: string | ||
tokenURL: string | ||
clientID: string | ||
clientSecret: string | ||
callbackURL: string | ||
scope: string | ||
logoutURL?: string | ||
useRoutes?: boolean | ||
sessionKey?: string | ||
//openID options | ||
discoveryEndpoint: string | ||
issuerURL: string | ||
responseTypes: string[] | ||
tokenEndpointAuthMethod: string | ||
allowRolesRegex?: string | ||
useCSRF?: boolean | ||
routeCredential?: RouteCredential | ||
} | ||
|
||
export interface RouteCredential { | ||
userName: string | ||
password: string | ||
routes: string[] | ||
scope: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { Cookie, Session, SessionData } from 'express-session' | ||
|
||
export interface MySessionData extends Session, SessionData { | ||
[key: string]: any | ||
cookie: Cookie | ||
passport: any | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.