mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 18:02:33 +00:00
mfa selection, setup page
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import {
|
||||
LegalAndSupportSettings,
|
||||
PasswordComplexitySettings,
|
||||
ZitadelServer,
|
||||
ZitadelServerOptions,
|
||||
user,
|
||||
@@ -15,8 +17,6 @@ import {
|
||||
AddHumanUserResponse,
|
||||
BrandingSettings,
|
||||
ListSessionsResponse,
|
||||
LegalAndSupportSettings,
|
||||
PasswordComplexitySettings,
|
||||
GetSessionResponse,
|
||||
VerifyEmailResponse,
|
||||
Checks,
|
||||
@@ -40,6 +40,7 @@ import {
|
||||
CreateCallbackResponse,
|
||||
RequestChallenges,
|
||||
TextQueryMethod,
|
||||
ListHumanAuthFactorsResponse,
|
||||
AddHumanUserRequest,
|
||||
} from "@zitadel/server";
|
||||
|
||||
@@ -257,6 +258,14 @@ export async function addHumanUser(
|
||||
);
|
||||
}
|
||||
|
||||
export async function listHumanAuthFactors(
|
||||
server: ZitadelServer,
|
||||
userId: string
|
||||
): Promise<ListHumanAuthFactorsResponse> {
|
||||
const managementService = management.getManagement(server);
|
||||
return managementService.listHumanAuthFactors({ userId }, {});
|
||||
}
|
||||
|
||||
export async function listUsers(
|
||||
userName: string,
|
||||
organizationId: string
|
||||
|
||||
Reference in New Issue
Block a user