@accounts/types
Advanced tools
Comparing version 0.26.0-alpha.0 to 0.26.0-alpha.1
@@ -10,2 +10,3 @@ export * from './types/database-interface'; | ||
export * from './types/login-result'; | ||
export * from './types/authentication-result'; | ||
export * from './types/impersonation-result'; | ||
@@ -12,0 +13,0 @@ export * from './types/login-user-identity'; |
import { DatabaseInterface } from '../database-interface'; | ||
import { Authenticator } from './authenticator'; | ||
import { MfaChallenge } from '../mfa-challenge/mfa-challenge'; | ||
export interface AuthenticatorService { | ||
@@ -7,2 +8,3 @@ server: any; | ||
setStore(store: DatabaseInterface): void; | ||
challenge?(mfaChallenge: MfaChallenge, authenticator: Authenticator): Promise<any>; | ||
associate(userId: string, params: any): Promise<any>; | ||
@@ -9,0 +11,0 @@ authenticate(authenticator: Authenticator, params: any): Promise<boolean>; |
@@ -6,3 +6,4 @@ import { CreateMfaChallenge } from './create-mfa-challenge'; | ||
findMfaChallengeByToken(token: string): Promise<MfaChallenge | null>; | ||
updateMfaChallenge(mfaChallengeId: string, data: any): Promise<void>; | ||
deactivateMfaChallenge(mfaChallengeId: string): Promise<void>; | ||
} |
{ | ||
"name": "@accounts/types", | ||
"version": "0.26.0-alpha.0", | ||
"version": "0.26.0-alpha.1", | ||
"description": "Accounts-js Types", | ||
@@ -51,3 +51,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "0e9eb3bcdf3c5416555647d97c91b817b07850f7" | ||
"gitHead": "ce6f04495e4de9ba5dcb04396aada2bb31e5880b" | ||
} |
@@ -10,2 +10,3 @@ export * from './types/database-interface'; | ||
export * from './types/login-result'; | ||
export * from './types/authentication-result'; | ||
export * from './types/impersonation-result'; | ||
@@ -12,0 +13,0 @@ export * from './types/login-user-identity'; |
import { DatabaseInterface } from '../database-interface'; | ||
import { Authenticator } from './authenticator'; | ||
import { MfaChallenge } from '../mfa-challenge/mfa-challenge'; | ||
@@ -8,2 +9,3 @@ export interface AuthenticatorService { | ||
setStore(store: DatabaseInterface): void; | ||
challenge?(mfaChallenge: MfaChallenge, authenticator: Authenticator): Promise<any>; | ||
associate(userId: string, params: any): Promise<any>; | ||
@@ -10,0 +12,0 @@ authenticate(authenticator: Authenticator, params: any): Promise<boolean>; |
@@ -9,3 +9,5 @@ import { CreateMfaChallenge } from './create-mfa-challenge'; | ||
updateMfaChallenge(mfaChallengeId: string, data: any): Promise<void>; | ||
deactivateMfaChallenge(mfaChallengeId: string): Promise<void>; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63903
123
1127