mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 18:25:21 -04:00
refactor(auth): rename identity-module to auth-module
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
ff3e34261e
commit
b24f8b0a76
46 changed files with 78 additions and 81 deletions
28
backend/src/auth/auth.module.ts
Normal file
28
backend/src/auth/auth.module.ts
Normal file
|
@ -0,0 +1,28 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2024 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
|
||||
import { LoggerModule } from '../logger/logger.module';
|
||||
import { User } from '../users/user.entity';
|
||||
import { UsersModule } from '../users/users.module';
|
||||
import { Identity } from './identity.entity';
|
||||
import { IdentityService } from './identity.service';
|
||||
import { LdapService } from './ldap/ldap.service';
|
||||
import { LocalService } from './local/local.service';
|
||||
import { OidcService } from './oidc/oidc.service';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
TypeOrmModule.forFeature([Identity, User]),
|
||||
UsersModule,
|
||||
LoggerModule,
|
||||
],
|
||||
controllers: [],
|
||||
providers: [IdentityService, LdapService, LocalService, OidcService],
|
||||
exports: [IdentityService, LdapService, LocalService, OidcService],
|
||||
})
|
||||
export class AuthModule {}
|
Loading…
Add table
Add a link
Reference in a new issue