feat: onUserAuthenticated hook
parent
318a3de0b0
commit
40bf4b1647
@ -0,0 +1,11 @@
|
||||
import type { MiddlewareHandle } from 'express-knifey';
|
||||
|
||||
export const SWISSOID_MIDDLEWARE = {
|
||||
oidcStandardRoutes: {
|
||||
name: 'oidcStandardRoutesMiddleware',
|
||||
defaultPriority: 50,
|
||||
defaultPath: '*',
|
||||
} satisfies MiddlewareHandle,
|
||||
} as const;
|
||||
|
||||
export type SwissoidMiddlewareHandle = typeof SWISSOID_MIDDLEWARE[keyof typeof SWISSOID_MIDDLEWARE];
|
||||
Loading…
Reference in New Issue