mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
AuditService (#2)
* Add AuditService. * Change sha1 to use Webcrypto. * Add interface for AuditService. * Move PwnedPasswodsApi constant outside class. * Change FromBufferToHex implementation to simpler code. * Use correct string to array function. * Change auditService interface to abstract class. Add missing type to utils.
This commit is contained in:
committed by
Kyle Spearrin
parent
ab00dfd399
commit
1aabb42e47
3
src/abstractions/audit.service.ts
Normal file
3
src/abstractions/audit.service.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export abstract class AuditService {
|
||||
passwordLeaked: (password: string) => Promise<number>;
|
||||
}
|
||||
Reference in New Issue
Block a user