1
0
mirror of https://github.com/bitwarden/jslib synced 2026-01-06 18:43:14 +00:00

Fix tokenService interface definition

This commit is contained in:
Thomas Rittson
2021-12-20 09:28:28 +10:00
parent 208e88800b
commit be23d022de

View File

@@ -13,8 +13,8 @@ export abstract class TokenService {
setClientSecret: (clientSecret: string) => Promise<any>;
getClientSecret: () => Promise<string>;
toggleTokens: () => Promise<any>;
setTwoFactorToken: (token: string, email: string) => Promise<any>;
getTwoFactorToken: (email: string) => Promise<string>;
setTwoFactorToken: (token: string) => Promise<any>;
getTwoFactorToken: () => Promise<string>;
clearTwoFactorToken: () => Promise<any>;
clearToken: (userId?: string) => Promise<any>;
decodeToken: (token?: string) => any;