diff --git a/ServicesApi/src/auth/password/verify-otp/verify-otp.service.ts b/ServicesApi/src/auth/password/verify-otp/verify-otp.service.ts
index bcaed97..01a275d 100644
--- a/ServicesApi/src/auth/password/verify-otp/verify-otp.service.ts
+++ b/ServicesApi/src/auth/password/verify-otp/verify-otp.service.ts
@@ -25,3 +25,9 @@ export class VerifyOtpService {
return dto;
}
}
+
+// // controller veya resolver içinden
+// const { secret, otpauthUrl } = authService.generate2FASecret('mehmet');
+// const qrCodeImage = await authService.generateQRCode(otpauthUrl);
+
+// // qrCodeImage → frontend’e gönder,
diye gösterilebilir
diff --git a/ServicesApi/src/auth/token/check/check.controller.spec.ts b/ServicesApi/src/auth/token/check/check.controller.spec.ts
deleted file mode 100644
index 5753bc5..0000000
--- a/ServicesApi/src/auth/token/check/check.controller.spec.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { Test, TestingModule } from '@nestjs/testing';
-import { CheckController } from './check.controller';
-
-describe('CheckController', () => {
- let controller: CheckController;
-
- beforeEach(async () => {
- const module: TestingModule = await Test.createTestingModule({
- controllers: [CheckController],
- }).compile();
-
- controller = module.get(CheckController);
- });
-
- it('should be defined', () => {
- expect(controller).toBeDefined();
- });
-});
diff --git a/ServicesApi/src/auth/token/check/check.controller.ts b/ServicesApi/src/auth/token/check/check.controller.ts
deleted file mode 100644
index 1ef8045..0000000
--- a/ServicesApi/src/auth/token/check/check.controller.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import { Controller } from '@nestjs/common';
-
-@Controller('check')
-export class CheckController {}
diff --git a/ServicesApi/src/auth/token/check/check.module.ts b/ServicesApi/src/auth/token/check/check.module.ts
deleted file mode 100644
index 75e50d9..0000000
--- a/ServicesApi/src/auth/token/check/check.module.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { Module } from '@nestjs/common';
-import { CheckService } from './check.service';
-import { CheckController } from './check.controller';
-
-@Module({
- providers: [CheckService],
- controllers: [CheckController]
-})
-export class CheckModule {}
diff --git a/ServicesApi/src/auth/token/check/check.service.spec.ts b/ServicesApi/src/auth/token/check/check.service.spec.ts
deleted file mode 100644
index 20e646b..0000000
--- a/ServicesApi/src/auth/token/check/check.service.spec.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { Test, TestingModule } from '@nestjs/testing';
-import { CheckService } from './check.service';
-
-describe('CheckService', () => {
- let service: CheckService;
-
- beforeEach(async () => {
- const module: TestingModule = await Test.createTestingModule({
- providers: [CheckService],
- }).compile();
-
- service = module.get(CheckService);
- });
-
- it('should be defined', () => {
- expect(service).toBeDefined();
- });
-});
diff --git a/ServicesApi/src/auth/token/check/check.service.ts b/ServicesApi/src/auth/token/check/check.service.ts
deleted file mode 100644
index a799f8b..0000000
--- a/ServicesApi/src/auth/token/check/check.service.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import { Injectable } from '@nestjs/common';
-
-@Injectable()
-export class CheckService {}
diff --git a/ServicesApi/src/auth/token/refresh/refresh.controller.spec.ts b/ServicesApi/src/auth/token/refresh/refresh.controller.spec.ts
deleted file mode 100644
index dc100c7..0000000
--- a/ServicesApi/src/auth/token/refresh/refresh.controller.spec.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { Test, TestingModule } from '@nestjs/testing';
-import { RefreshController } from './refresh.controller';
-
-describe('RefreshController', () => {
- let controller: RefreshController;
-
- beforeEach(async () => {
- const module: TestingModule = await Test.createTestingModule({
- controllers: [RefreshController],
- }).compile();
-
- controller = module.get(RefreshController);
- });
-
- it('should be defined', () => {
- expect(controller).toBeDefined();
- });
-});
diff --git a/ServicesApi/src/auth/token/refresh/refresh.controller.ts b/ServicesApi/src/auth/token/refresh/refresh.controller.ts
deleted file mode 100644
index 333c723..0000000
--- a/ServicesApi/src/auth/token/refresh/refresh.controller.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import { Controller } from '@nestjs/common';
-
-@Controller('refresh')
-export class RefreshController {}
diff --git a/ServicesApi/src/auth/token/refresh/refresh.module.ts b/ServicesApi/src/auth/token/refresh/refresh.module.ts
deleted file mode 100644
index cc2113c..0000000
--- a/ServicesApi/src/auth/token/refresh/refresh.module.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { Module } from '@nestjs/common';
-import { RefreshService } from './refresh.service';
-import { RefreshController } from './refresh.controller';
-
-@Module({
- providers: [RefreshService],
- controllers: [RefreshController]
-})
-export class RefreshModule {}
diff --git a/ServicesApi/src/auth/token/refresh/refresh.service.spec.ts b/ServicesApi/src/auth/token/refresh/refresh.service.spec.ts
deleted file mode 100644
index bf17744..0000000
--- a/ServicesApi/src/auth/token/refresh/refresh.service.spec.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { Test, TestingModule } from '@nestjs/testing';
-import { RefreshService } from './refresh.service';
-
-describe('RefreshService', () => {
- let service: RefreshService;
-
- beforeEach(async () => {
- const module: TestingModule = await Test.createTestingModule({
- providers: [RefreshService],
- }).compile();
-
- service = module.get(RefreshService);
- });
-
- it('should be defined', () => {
- expect(service).toBeDefined();
- });
-});
diff --git a/ServicesApi/src/auth/token/refresh/refresh.service.ts b/ServicesApi/src/auth/token/refresh/refresh.service.ts
deleted file mode 100644
index db53e85..0000000
--- a/ServicesApi/src/auth/token/refresh/refresh.service.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import { Injectable } from '@nestjs/common';
-
-@Injectable()
-export class RefreshService {}
diff --git a/ServicesApi/src/auth/token/token.controller.spec.ts b/ServicesApi/src/auth/token/token.controller.spec.ts
deleted file mode 100644
index 823fa44..0000000
--- a/ServicesApi/src/auth/token/token.controller.spec.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { Test, TestingModule } from '@nestjs/testing';
-import { TokenController } from './token.controller';
-
-describe('TokenController', () => {
- let controller: TokenController;
-
- beforeEach(async () => {
- const module: TestingModule = await Test.createTestingModule({
- controllers: [TokenController],
- }).compile();
-
- controller = module.get(TokenController);
- });
-
- it('should be defined', () => {
- expect(controller).toBeDefined();
- });
-});
diff --git a/ServicesApi/src/auth/token/token.controller.ts b/ServicesApi/src/auth/token/token.controller.ts
deleted file mode 100644
index 522074c..0000000
--- a/ServicesApi/src/auth/token/token.controller.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import { Controller } from '@nestjs/common';
-
-@Controller('token')
-export class TokenController {}
diff --git a/ServicesApi/src/auth/token/token.module.ts b/ServicesApi/src/auth/token/token.module.ts
deleted file mode 100644
index cb54827..0000000
--- a/ServicesApi/src/auth/token/token.module.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { Module } from '@nestjs/common';
-import { TokenService } from './token.service';
-import { TokenController } from './token.controller';
-import { CheckModule } from './check/check.module';
-import { RefreshModule } from './refresh/refresh.module';
-
-@Module({
- providers: [TokenService],
- controllers: [TokenController],
- imports: [CheckModule, RefreshModule],
-})
-export class TokenModule {}
diff --git a/ServicesApi/src/auth/token/token.service.spec.ts b/ServicesApi/src/auth/token/token.service.spec.ts
deleted file mode 100644
index a5f5d65..0000000
--- a/ServicesApi/src/auth/token/token.service.spec.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { Test, TestingModule } from '@nestjs/testing';
-import { TokenService } from './token.service';
-
-describe('TokenService', () => {
- let service: TokenService;
-
- beforeEach(async () => {
- const module: TestingModule = await Test.createTestingModule({
- providers: [TokenService],
- }).compile();
-
- service = module.get(TokenService);
- });
-
- it('should be defined', () => {
- expect(service).toBeDefined();
- });
-});
diff --git a/ServicesApi/src/auth/token/token.service.ts b/ServicesApi/src/auth/token/token.service.ts
deleted file mode 100644
index 3f45ce4..0000000
--- a/ServicesApi/src/auth/token/token.service.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import { Injectable } from '@nestjs/common';
-
-@Injectable()
-export class TokenService {}