We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e603ff0 commit c71fc06Copy full SHA for c71fc06
src/server/modules/auth/interfaces/OtpRepository.ts
@@ -1,14 +1,6 @@
1
import { StorableOtp } from '../../../repositories/types'
2
3
export interface OtpRepository {
4
- /**
5
- * Get the redis key for the otp associated with the user with the input email and IP.
6
- * @param {string} email Email of the user.
7
- * @param {string} ip IP address of the user.
8
- * @returns Promise that resolves to the redis key.
9
- */
10
- getRedisKey(email: string, ip: string): string
11
-
12
/**
13
* Delete the otp associated with the user with the input email and IP.
14
* @param {string} email Email of the user.
0 commit comments