DynamicSecret: string | ((req) => string | undefined) | ((req) => Promise<string | undefined>)
Type declaration
-
- (req): string | undefined
-
Returns string | undefined
Type declaration
-
- (req): Promise<string | undefined>
-
Returns Promise<string | undefined>
Your hash secret or a function
Defaults to
sha256