Spaces:
Sleeping
Sleeping
Download src/auth/auth.module.ts from IlyasDaoud/omnia-eats-api: direct link, hf CLI and curl.
- Browser
- Download file 457 Bytes
-
https://huggingface.co/spaces/IlyasDaoud/omnia-eats-api/resolve/main/src/auth/auth.module.ts
- Command line
-
hf download hf://spaces/IlyasDaoud/omnia-eats-api/src/auth/auth.module.ts
-
curl -L -o auth.module.ts https://huggingface.co/spaces/IlyasDaoud/omnia-eats-api/resolve/main/src/auth/auth.module.ts
457 Bytes
| import { Global, Module } from '@nestjs/common'; | |
| import { ClerkService } from './clerk.service'; | |
| import { AuthGuard } from './auth.guard'; | |
| import { OptionalAuthGuard } from './optional-auth.guard'; | |
| import { UsersModule } from '../users/users.module'; | |
| () | |
| ({ | |
| imports: [UsersModule], | |
| providers: [ClerkService, AuthGuard, OptionalAuthGuard], | |
| exports: [ClerkService, AuthGuard, OptionalAuthGuard, UsersModule], | |
| }) | |
| export class AuthModule {} | |