This repository has been archived on 2024-06-14. You can view files and clone it, but cannot push or open issues or pull requests.
icynet-auth-server/src/modules/oauth2/oauth2.module.ts

21 lines
676 B
TypeScript
Raw Normal View History

2022-08-27 08:59:26 +00:00
import { Module } from '@nestjs/common';
import { OAuth2ClientModule } from 'src/modules/objects/oauth2-client/oauth2-client.module';
import { OAuth2TokenModule } from 'src/modules/objects/oauth2-token/oauth2-token.module';
import { UploadModule } from 'src/modules/objects/upload/upload.module';
import { UserModule } from 'src/modules/objects/user/user.module';
2022-09-16 15:11:36 +00:00
import { JWTModule } from '../jwt/jwt.module';
2022-08-27 08:59:26 +00:00
import { OAuth2Service } from './oauth2.service';
@Module({
2022-09-16 15:11:36 +00:00
imports: [
UserModule,
UploadModule,
OAuth2ClientModule,
OAuth2TokenModule,
JWTModule,
],
2022-08-27 08:59:26 +00:00
providers: [OAuth2Service],
exports: [OAuth2Service],
})
export class OAuth2Module {}