-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -270,9 +270,12 @@ export default class SecurityContext extends Context { | |
|
||
declare module '@eggjs/core' { | ||
interface Context { | ||
// @ts-ignore | ||
Check failure on line 273 in src/app/extend/context.ts
|
||
get securityOptions(): Partial<SecurityConfig & SecurityHelperConfig>; | ||
isSafeDomain(domain: string, customWhiteList?: string[]): boolean; | ||
// @ts-ignore | ||
Check failure on line 276 in src/app/extend/context.ts
|
||
get nonce(): string; | ||
// @ts-ignore | ||
Check failure on line 278 in src/app/extend/context.ts
|
||
get csrf(): string; | ||
ensureCsrfSecret(rotate?: boolean): void; | ||
rotateCsrfSecret(): void; | ||
|