MCPcopy Create free account

hub / github.com/codeedu/live-multi-tenancy-nest-next-keycloak / functions

Functions47 in github.com/codeedu/live-multi-tenancy-nest-next-keycloak

↓ 3 callersFunctionparseCookies
(req?: any)
next.js/src/util/cookies.ts:4
↓ 2 callersMethodcreate
(createTransactionDto: CreateTransactionDto)
nest/src/transactions/transactions.service.ts:15
↓ 2 callersFunctiongetPayload
(token: string)
next.js/src/util/auth.ts:19
↓ 1 callersFunctionbootstrap
()
nest/src/main.ts:4
↓ 1 callersFunctiongetCookie
(key: string)
next.js/src/util/cookies.ts:23
↓ 1 callersMethodgetHello
()
nest/src/app.service.ts:5
↓ 1 callersFunctionisTokenExpired
(token: string)
next.js/src/util/auth.ts:11
↓ 1 callersMethodupdate
(id: number, updateTransactionDto: UpdateTransactionDto)
nest/src/transactions/transactions.service.ts:35
↓ 1 callersFunctionvalidateAuth
(req?: Request)
next.js/src/util/auth.ts:32
↓ 1 callersFunctionverifyToken
(token: string, key: string)
next.js/src/util/auth.ts:44
FunctionHome
()
next.js/src/pages/index.tsx:5
FunctionLoginPage
()
next.js/src/pages/login.tsx:6
FunctionMyApp
({ Component, pageProps, cookies }: AppProps & { cookies: any })
next.js/src/pages/_app.tsx:6
FunctionPagina1Page
({name}: {name: string})
next.js/src/pages/pagina1.tsx:3
FunctionPrivatePage
(props)
next.js/src/pages/private.tsx:10
FunctionRole
(role: string)
nest/src/auth/role.decorator.ts:3
MethodcanActivate
( context: ExecutionContext, )
nest/src/auth/role.guard.ts:9
MethodcanActivate
( context: ExecutionContext, )
nest/src/tenant/tenant.guard.ts:12
Methodconstructor
(private readonly appService: AppService)
nest/src/app.controller.ts:7
Methodconstructor
(private reflector: Reflector)
nest/src/auth/role.guard.ts:7
Methodconstructor
(private http: HttpService)
nest/src/auth/auth/auth.service.ts:7
Methodconstructor
(private authService: AuthService)
nest/src/auth/auth/auth.controller.ts:9
Methodconstructor
(configService: ConfigService)
nest/src/auth/jwt-strategy/jwt-strategy.service.ts:8
Methodconstructor
( @InjectModel(Transaction) private transactionModel: typeof Transaction, private tenantService: Tenan
nest/src/transactions/transactions.service.ts:10
Methodconstructor
(private readonly transactionsService: TransactionsService)
nest/src/transactions/transactions.controller.ts:10
Methodconstructor
(private tenantService: TenantService)
nest/src/tenant/tenant.guard.ts:8
Methodcreate
(@Body() createTransactionDto: CreateTransactionDto)
nest/src/transactions/transactions.controller.ts:14
Functionfetcher
(url: string)
next.js/src/hooks/useAuthHttp.ts:6
MethodfindAll
()
nest/src/transactions/transactions.service.ts:22
MethodfindAll
()
nest/src/transactions/transactions.controller.ts:20
MethodfindOne
(id: number)
nest/src/transactions/transactions.service.ts:31
MethodfindOne
(@Param('id') id: string)
nest/src/transactions/transactions.controller.ts:25
MethodgetHello
()
nest/src/app.controller.ts:10
FunctiongetServerSideProps
(ctx: any)
next.js/src/pages/private.tsx:17
FunctiongetServerSideProps
(ctx)
next.js/src/pages/pagina1.tsx:9
Functionhandler
( req: NextApiRequest, res: NextApiResponse<Data> )
next.js/src/pages/api/hello.ts:8
Methodlogin
(username: string, password: string)
nest/src/auth/auth/auth.service.ts:9
Methodlogin
(@Body() body)
nest/src/auth/auth/auth.controller.ts:12
Methodmetodo1
()
nest/src/app.controller.ts:15
Methodremove
(id: number)
nest/src/transactions/transactions.service.ts:39
Methodremove
(@Param('id') id: string)
nest/src/transactions/transactions.controller.ts:35
FunctionsetCookie
( key: string, value: string | object, options?: Cookies.CookieAttributes )
next.js/src/util/cookies.ts:12
Methodtest
(@Req() req)
nest/src/auth/auth/auth.controller.ts:19
Methodupdate
(@Param('id') id: string, @Body() updateTransactionDto: UpdateTransactionDto)
nest/src/transactions/transactions.controller.ts:30
FunctionuseAuthHttp
(url: string)
next.js/src/hooks/useAuthHttp.ts:8
Methodvalidate
(payload)
nest/src/auth/jwt-strategy/jwt-strategy.service.ts:16
FunctionwithAuth
(func: any)
next.js/src/hof/withAuth.tsx:4