(username: string, password: string)
| 42 | } |
| 43 | |
| 44 | export async function createAuthSessionToken(username: string, password: string) { |
| 45 | const secret = getSessionSecret(username, password); |
| 46 | return sha256Hex(`${username}:${password}:${secret}`); |
| 47 | } |
| 48 | |
| 49 | export async function verifyWebCredentials(username: string, password: string) { |
| 50 | const config = getWebAuthConfig(); |
no test coverage detected