Phase 3 Completed
This commit is contained in:
@@ -13,10 +13,20 @@ import { IAuthConfig } from '../identity/application/config/i-auth-config';
|
||||
import { EnvAuthConfig } from '../identity/application/config/env-auth-config';
|
||||
import { RedisPkceStore } from './pkce/redis-pkce.store';
|
||||
import { InMemoryRefreshStore } from './refresh/inmemory-refresh.store';
|
||||
import { OidcService } from './oidc.service';
|
||||
import { RoleSyncService } from './role-sync.service';
|
||||
import { RedisService } from '../../shared/redis.service';
|
||||
import { GroupHashService } from './group-hash.service';
|
||||
import { AuthenticationService } from './authentication.service';
|
||||
import { EventBus } from '../../core/event-bus/event-bus.service';
|
||||
import { AuditService } from '../audit/audit.service';
|
||||
import { AuthorizationModule } from '../authorization/authorization.module';
|
||||
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
ConfigModule,
|
||||
AuthorizationModule,
|
||||
JwtModule.registerAsync({
|
||||
imports: [ConfigModule],
|
||||
useFactory: async (config: ConfigService) => ({
|
||||
@@ -40,7 +50,16 @@ import { InMemoryRefreshStore } from './refresh/inmemory-refresh.store';
|
||||
// In-memory PKCE and Refresh stores (Redis removed)
|
||||
RedisPkceStore,
|
||||
InMemoryRefreshStore,
|
||||
|
||||
// OIDC & Role Sync
|
||||
OidcService,
|
||||
RoleSyncService,
|
||||
GroupHashService,
|
||||
AuthenticationService,
|
||||
EventBus,
|
||||
AuditService,
|
||||
RedisService,
|
||||
],
|
||||
exports: [AuthService],
|
||||
exports: [AuthService, OidcService, RoleSyncService, AuthenticationService, EventBus],
|
||||
})
|
||||
export class AuthModule {}
|
||||
|
||||
Reference in New Issue
Block a user