@thunderid/vue 1.18.0 → 1.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +529 -31
- package/dist/components/auth/flow/FlowExpired.css.d.ts +3 -0
- package/dist/components/auth/flow/FlowExpired.css.d.ts.map +1 -0
- package/dist/components/auth/flow/FlowExpired.d.ts +15 -0
- package/dist/components/auth/flow/FlowExpired.d.ts.map +1 -0
- package/dist/components/auth/sign-in/BaseSignIn.d.ts.map +1 -1
- package/dist/components/auth/sign-in/SignIn.d.ts +16 -0
- package/dist/components/auth/sign-in/SignIn.d.ts.map +1 -1
- package/dist/components/auth/sign-up/BaseSignUp.d.ts +21 -0
- package/dist/components/auth/sign-up/BaseSignUp.d.ts.map +1 -1
- package/dist/components/auth/sign-up/SignUp.d.ts.map +1 -1
- package/dist/composables/auth/useFlowExpiry.d.ts +28 -0
- package/dist/composables/auth/useFlowExpiry.d.ts.map +1 -0
- package/dist/composables/auth/useFlowExpiryHandling.d.ts +37 -0
- package/dist/composables/auth/useFlowExpiryHandling.d.ts.map +1 -0
- package/dist/composables/auth/useFlowExpiryRedirect.d.ts +33 -0
- package/dist/composables/auth/useFlowExpiryRedirect.d.ts.map +1 -0
- package/dist/composables/auth/useWhenUserPresent.d.ts +12 -0
- package/dist/composables/auth/useWhenUserPresent.d.ts.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +529 -33
- package/dist/providers/FlowMetaProvider.d.ts.map +1 -1
- package/dist/providers/ThunderIDProvider.d.ts.map +1 -1
- package/dist/styles/injectStyles.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ADMINISTRATION_FLOW_TYPE, APPLICATION_GRANT_TYPES, AccountLifecycleFlowConfigKey, AccountLifecycleFlowConfigKey as AccountLifecycleFlowConfigKey$1, AdministrationFlowConfigKey, AdministrationFlowData, AdministrationFlowError, AdministrationFlowInput, AdministrationModes, AgentQueryKeys, AgentQueryKeys as AgentQueryKeys$1, ApplicationQueryKeys, ApplicationQueryKeys as ApplicationQueryKeys$1, AttributeVerificationConstants, AttributeVerificationConstants as AttributeVerificationConstants$1, AuthFlowSelectConstants, ConsentConstants, CredentialConstants, DEFAULT_APPLICATION_GRANT_TYPES, DEFAULT_THEME, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowComponentType as EmbeddedFlowComponentType$1, EmbeddedFlowEventType, EmbeddedFlowEventType as EmbeddedFlowEventType$1, EmbeddedFlowResponseType, EmbeddedFlowTextVariant, EmbeddedFlowType, EmbeddedSelfFlowStatus, EmbeddedSelfFlowStatus as EmbeddedSelfFlowStatus$1, EmbeddedSignInFlowStatus, EmbeddedSignInFlowStatus as EmbeddedSignInFlowStatus$1, EmbeddedSignInFlowType, EmbeddedSignInFlowType as EmbeddedSignInFlowType$1, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowStatus as EmbeddedSignUpFlowStatus$1, EmbeddedSignUpFlowType, FetchHttpClient, FieldType, FieldType as FieldType$1, FlowMetaType, GroupQueryKeys, GroupQueryKeys as GroupQueryKeys$1, ORGANIZATION_UNIT_ERROR_KEYS, OrganizationUnitQueryKeys, OrganizationUnitSwitchErrorCodes, OrganizationUnitSwitchErrorCodes as OrganizationUnitSwitchErrorCodes$1, PROJECT_ERROR_KEYS, ProjectQueryKeys, RoleQueryKeys, RoleQueryKeys as RoleQueryKeys$1, SHARING_POLICY_ERROR_KEYS, SHARING_RESOURCE_COLLECTIONS, SPAUtils, SelectConstants, SharingPolicyQueryKeys, ThunderIDAPIError, ThunderIDAPIError as ThunderIDAPIError$1, ThunderIDBrowserClient, ThunderIDError, ThunderIDRuntimeError, ThunderIDRuntimeError as ThunderIDRuntimeError$1, ThunderIDWordmark, TranslationBundleConstants, UserQueryKeys, UserQueryKeys as UserQueryKeys$1, UserSelectConstants, UserTypeSelectConstants, addGroupMembers, addGroupMembers as addGroupMembers$1, addRoleAssignments, addRoleAssignments as addRoleAssignments$1, applyGatewayConfiguration, arrayBufferToBase64url, base64urlToArrayBuffer, bem, buildValidatorFromRules, compileConsentDecisions, copyTextToClipboard, createAction, createAgent, createAgent as createAgent$1, createAgentType, createApplication, createApplication as createApplication$1, createApplicationSharingPolicy, createAuthorizationDetailType, createClassObserver, createClassObserver as createClassObserver$1, createConfigurationVersion, createConnection, createCredentialConfiguration, createDesignTheme, createFlow, createFlowSharingPolicy, createGateway, createGatewaySecret, createGatewayVariable, createGroup, createGroup as createGroup$1, createGroupByPath, createHttpClientFetcher, createLayout, createMediaQueryListener, createMediaQueryListener as createMediaQueryListener$1, createNotificationTemplate, createOrganizationUnit, createOrganizationUnit as createOrganizationUnit$1, createPackageComponentLogger, createPackageLogger, createPresentationDefinition, createProject, createProject as createProject$1, createResource, createResourceInvalidator, createResourceInvalidator as createResourceInvalidator$1, createResourceOptionsLoader, createResourceServer, createRole, createRole as createRole$1, createRoleSharingPolicy, createSecret, createTheme, createUser, createUser as createUser$1, createUserByPath, createUserSharingPolicy, createUserType, createVariable, deepMerge, deleteAction, deleteAgent, deleteAgent as deleteAgent$1, deleteAgentType, deleteApplication, deleteApplication as deleteApplication$1, deleteApplicationSharingPolicy, deleteAuthorizationDetailType, deleteClientRegistration, deleteConnection, deleteCredentialConfiguration, deleteDesignTheme, deleteFlow, deleteFlowSharingPolicy, deleteGateway, deleteGatewaySecret, deleteGatewayVariable, deleteGroup, deleteGroup as deleteGroup$1, deleteImportedConfiguration, deleteLayout, deleteNotificationTemplate, deleteOrganizationUnit, deleteOrganizationUnit as deleteOrganizationUnit$1, deleteOrganizationUnitByPath, deletePresentationDefinition, deleteProject, deleteProject as deleteProject$1, deleteResource, deleteResourceServer, deleteRole, deleteRole as deleteRole$1, deleteRoleSharingPolicy, deleteSecret, deleteTranslation, deleteTranslations, deleteUser, deleteUser as deleteUser$1, deleteUserSharingPolicy, deleteUserType, deleteVariable, describeSharingPolicyScope, detectThemeMode, detectThemeMode as detectThemeMode$1, evaluateChangePasswordForm, executeAdministrationFlow, executeEmbeddedDeviceGrantFlow, executeEmbeddedSelfFlow, executeEmbeddedSignInFlow, executeEmbeddedSignUpFlow, exportConfiguration, extractEmojiFromUri, extractUserClaimsFromIdToken, fallbackResourceInvalidator, findAdministrationFlows, generateFlattenedUserProfile, get, getAccessibleOrganizationUnits, getAccountLifecycleActions, getAccountLifecycleActions as getAccountLifecycleActions$1, getAction, getActions, getActiveTheme, getAgent, getAgent as getAgent$1, getAgentGroups, getAgentGroups as getAgentGroups$1, getAgentName, getAgentName as getAgentName$1, getAgentRoles, getAgentRoles as getAgentRoles$1, getAgentType, getAgentTypes, getAgentTypes as getAgentTypes$1, getAgents, getAgents as getAgents$1, getApplication, getApplication as getApplication$1, getApplicationClientSecret, getApplicationOAuthConfig, getApplicationOverlayRules, getApplicationSharingPolicies, getApplicationSharingPolicy, getApplications, getApplications as getApplications$1, getAuthorizationDetailType, getAuthorizationDetailTypes, getClientRegistration, getConfigurationVersion, getConfigurationVersions, getConnection, getConnectionUsages, getConnections, getConnectionsMeta, getConsentElementDecision, getCredentialConfiguration, getCredentialConfigurations, getDefaultI18nBundles, getDesignTheme, getDesignThemeUsages, getDesignThemes, getFlow, getFlowMeta, getFlowOverlayRules, getFlowSharingPolicies, getFlowSharingPolicy, getFlowStepComponents, getFlowUsages, getFlowVariables, getFlowVersion, getFlowVersions, getFlows, getFlows as getFlows$1, getGateway, getGatewayAppliedConfiguration, getGatewayAppliedVersion, getGatewayConfigurationDiff, getGatewayMaster, getGatewayMasterHistory, getGatewayMasterResource, getGatewaySecret, getGatewaySecrets, getGatewayVariable, getGatewayVariables, getGateways, getGroup, getGroup as getGroup$1, getGroupMembers, getGroupMembers as getGroupMembers$1, getGroups, getGroups as getGroups$1, getGroupsByPath, getLanguages, getLayout, getLayoutUsages, getLayouts, getNotificationTemplate, getNotificationTemplates, getOrganizationUnit, getOrganizationUnit as getOrganizationUnit$1, getOrganizationUnitByPath, getOrganizationUnitChildren, getOrganizationUnitChildren as getOrganizationUnitChildren$1, getOrganizationUnitGroups, getOrganizationUnitGroups as getOrganizationUnitGroups$1, getOrganizationUnitRoles, getOrganizationUnitRoles as getOrganizationUnitRoles$1, getOrganizationUnitUsers, getOrganizationUnitUsers as getOrganizationUnitUsers$1, getOrganizationUnits, getOrganizationUnits as getOrganizationUnits$1, getPresentationDefinition, getPresentationDefinitions, getProject, getProject as getProject$1, getProjects, getProjects as getProjects$1, getResource, getResourceServer, getResourceServerPermissions, getResourceServerPermissions as getResourceServerPermissions$1, getResourceServers, getResourceServers as getResourceServers$1, getResources, getRole, getRole as getRole$1, getRoleAssignments, getRoleAssignments as getRoleAssignments$1, getRoleOverlayRules, getRoleSharingPolicies, getRoleSharingPolicy, getRoles, getRoles as getRoles$1, getSecret, getSecrets, getSelectMessages, getServerConfig, getServerConfigs, getSharingPolicyOperations, getSupportedAuthorizationDetailsType, getSupportedAuthorizationDetailsTypes, getTokenPermissions, getUser, getUser as getUser$1, getUserGroups, getUserGroups as getUserGroups$1, getUserOverlayRules, getUserSharingPolicies, getUserSharingPolicy, getUserType, getUserTypes, getUserTypes as getUserTypes$1, getUserUsages, getUsers, getUsers as getUsers$1, getUsersByPath, getUsersMe, getUsersMeMeta, getVariable, getVariables, getVendorPrefix, getVerifiedAttributes, getVerifiedAttributes as getVerifiedAttributes$1, handleWebAuthnAuthentication, hasAuthParamsInUrl, hasAuthParamsInUrl as hasAuthParamsInUrl$1, hasCalledForThisInstanceInUrl, hasPermission, hasPermission as hasPermission$1, hasUnresolvedTranslationParams, http, importConfiguration, isApplicationSubmissionValid, isEmojiUri, isEmpty, isSharingPolicyFormValid, isVerifiableAttribute, isVerifiableAttribute as isVerifiableAttribute$1, loadUntilOptionsGrow, mapCredentialUpdateError, mergeOptionsBatch, navigate, navigate as navigate$1, normalizeBorderRadius, normalizeSelectOptions, normalizeTranslations, parseKeyValuePairs, parseKeyValuePairs as parseKeyValuePairs$1, parseRedirectUris, previewCimdDocument, readCurrentProject, regenerateAgentSecret, regenerateClientSecret, regenerateClientSecret as regenerateClientSecret$1, regenerateFlowSecret, registerClient, removeGroupMembers, removeGroupMembers as removeGroupMembers$1, removeRoleAssignments, removeRoleAssignments as removeRoleAssignments$1, resolveAdministrationFlowHandles, resolveAdministrationFlowId, resolveAdministrationFlows, resolveAdministrationFlows as resolveAdministrationFlows$1, resolveChangeCredentialPolicy, resolveDesign, resolveFlowTemplateLiterals, resolveLogoUri, resolveManagedIdentityName, resolvePageSize, resolveRequestBaseUrl, resolveResourceEndpoint, resolveTranslation, resolveTranslations, restoreFlowVersion, revertGatewayConfiguration, runAccountLifecycleAction, runAccountLifecycleAction as runAccountLifecycleAction$1, runAdministrationFlow, setTranslation, setTranslations, startCase, substituteTranslationParams, supportsCredential, suspendAgent, suspendApplication, suspendUser, toAuthFlowSelectPage, toCreateApplicationRequest, toEqualityFilter, toError, toManagementErrorMessage, toSharingPolicyFormValues, toSharingPolicyRequest, toSharingPolicyUpdateRequest, toUpdateApplicationRequest, toUserSelectPage, toUserTypeSelectPage, unlockAgent, unlockUser, unsuspendAgent, unsuspendApplication, unsuspendUser, updateAction, updateAgent, updateAgentType, updateApplication, updateApplication as updateApplication$1, updateApplicationSharingPolicy, updateAuthorizationDetailType, updateClientRegistration, updateConnection, updateCredentialConfiguration, updateDesignTheme, updateFlow, updateFlowSharingPolicy, updateFlowVariables, updateGateway, updateGatewaySecret, updateGatewayVariable, updateGroup, updateLayout, updateMeCredentials, updateMeProfile, updateNotificationTemplate, updateOrganizationUnit, updateOrganizationUnit as updateOrganizationUnit$1, updateOrganizationUnitByPath, updatePresentationDefinition, updateProject, updateProject as updateProject$1, updateResource, updateResourceServer, updateRole, updateRole as updateRole$1, updateRoleSharingPolicy, updateSecret, updateServerConfig, updateUser, updateUser as updateUser$1, updateUserCredentials, updateUserSharingPolicy, updateUserType, updateVariable, withVendorCSSClassPrefix, writeCurrentProject } from "@thunderid/browser";
|
|
1
|
+
import { ADMINISTRATION_FLOW_TYPE, APPLICATION_GRANT_TYPES, AccountLifecycleFlowConfigKey, AccountLifecycleFlowConfigKey as AccountLifecycleFlowConfigKey$1, AdministrationFlowConfigKey, AdministrationFlowData, AdministrationFlowError, AdministrationFlowInput, AdministrationModes, AgentQueryKeys, AgentQueryKeys as AgentQueryKeys$1, ApplicationQueryKeys, ApplicationQueryKeys as ApplicationQueryKeys$1, AttributeVerificationConstants, AttributeVerificationConstants as AttributeVerificationConstants$1, AuthFlowSelectConstants, ConsentConstants, CredentialConstants, DEFAULT_APPLICATION_GRANT_TYPES, DEFAULT_THEME, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowComponentType as EmbeddedFlowComponentType$1, EmbeddedFlowEventType, EmbeddedFlowEventType as EmbeddedFlowEventType$1, EmbeddedFlowResponseType, EmbeddedFlowTextVariant, EmbeddedFlowType, EmbeddedSelfFlowStatus, EmbeddedSelfFlowStatus as EmbeddedSelfFlowStatus$1, EmbeddedSignInFlowStatus, EmbeddedSignInFlowStatus as EmbeddedSignInFlowStatus$1, EmbeddedSignInFlowType, EmbeddedSignInFlowType as EmbeddedSignInFlowType$1, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowStatus as EmbeddedSignUpFlowStatus$1, EmbeddedSignUpFlowType, FetchHttpClient, FieldType, FieldType as FieldType$1, FlowMetaType, GroupQueryKeys, GroupQueryKeys as GroupQueryKeys$1, ORGANIZATION_UNIT_ERROR_KEYS, OrganizationUnitQueryKeys, OrganizationUnitSwitchErrorCodes, OrganizationUnitSwitchErrorCodes as OrganizationUnitSwitchErrorCodes$1, PROJECT_ERROR_KEYS, ProjectQueryKeys, RoleQueryKeys, RoleQueryKeys as RoleQueryKeys$1, SHARING_POLICY_ERROR_KEYS, SHARING_RESOURCE_COLLECTIONS, SPAUtils, SelectConstants, SharingPolicyQueryKeys, ThunderIDAPIError, ThunderIDAPIError as ThunderIDAPIError$1, ThunderIDBrowserClient, ThunderIDError, ThunderIDRuntimeError, ThunderIDRuntimeError as ThunderIDRuntimeError$1, ThunderIDWordmark, TranslationBundleConstants, UserQueryKeys, UserQueryKeys as UserQueryKeys$1, UserSelectConstants, UserTypeSelectConstants, addGroupMembers, addGroupMembers as addGroupMembers$1, addRoleAssignments, addRoleAssignments as addRoleAssignments$1, applyGatewayConfiguration, arrayBufferToBase64url, base64urlToArrayBuffer, bem, buildValidatorFromRules, compileConsentDecisions, copyTextToClipboard, createAction, createAgent, createAgent as createAgent$1, createAgentType, createApplication, createApplication as createApplication$1, createApplicationSharingPolicy, createAuthorizationDetailType, createClassObserver, createClassObserver as createClassObserver$1, createConfigurationVersion, createConnection, createCredentialConfiguration, createDesignTheme, createFlow, createFlowSharingPolicy, createGateway, createGatewaySecret, createGatewayVariable, createGroup, createGroup as createGroup$1, createGroupByPath, createHttpClientFetcher, createLayout, createMediaQueryListener, createMediaQueryListener as createMediaQueryListener$1, createNotificationTemplate, createOrganizationUnit, createOrganizationUnit as createOrganizationUnit$1, createPackageComponentLogger, createPackageLogger, createPresentationDefinition, createProject, createProject as createProject$1, createResource, createResourceInvalidator, createResourceInvalidator as createResourceInvalidator$1, createResourceOptionsLoader, createResourceServer, createRole, createRole as createRole$1, createRoleSharingPolicy, createSecret, createTheme, createUser, createUser as createUser$1, createUserByPath, createUserSharingPolicy, createUserType, createVariable, deepMerge, deleteAction, deleteAgent, deleteAgent as deleteAgent$1, deleteAgentType, deleteApplication, deleteApplication as deleteApplication$1, deleteApplicationSharingPolicy, deleteAuthorizationDetailType, deleteClientRegistration, deleteConnection, deleteCredentialConfiguration, deleteDesignTheme, deleteFlow, deleteFlowSharingPolicy, deleteGateway, deleteGatewaySecret, deleteGatewayVariable, deleteGroup, deleteGroup as deleteGroup$1, deleteImportedConfiguration, deleteLayout, deleteNotificationTemplate, deleteOrganizationUnit, deleteOrganizationUnit as deleteOrganizationUnit$1, deleteOrganizationUnitByPath, deletePresentationDefinition, deleteProject, deleteProject as deleteProject$1, deleteResource, deleteResourceServer, deleteRole, deleteRole as deleteRole$1, deleteRoleSharingPolicy, deleteSecret, deleteTranslation, deleteTranslations, deleteUser, deleteUser as deleteUser$1, deleteUserSharingPolicy, deleteUserType, deleteVariable, describeSharingPolicyScope, detectThemeMode, detectThemeMode as detectThemeMode$1, evaluateChangePasswordForm, executeAdministrationFlow, executeEmbeddedDeviceGrantFlow, executeEmbeddedSelfFlow, executeEmbeddedSignInFlow, executeEmbeddedSignUpFlow, exportConfiguration, extractEmojiFromUri, extractUserClaimsFromIdToken, fallbackResourceInvalidator, findAdministrationFlows, generateFlattenedUserProfile, get, getAccessibleOrganizationUnits, getAccountLifecycleActions, getAccountLifecycleActions as getAccountLifecycleActions$1, getAction, getActions, getActiveTheme, getAgent, getAgent as getAgent$1, getAgentGroups, getAgentGroups as getAgentGroups$1, getAgentName, getAgentName as getAgentName$1, getAgentRoles, getAgentRoles as getAgentRoles$1, getAgentType, getAgentTypes, getAgentTypes as getAgentTypes$1, getAgents, getAgents as getAgents$1, getApplication, getApplication as getApplication$1, getApplicationClientSecret, getApplicationOAuthConfig, getApplicationOverlayRules, getApplicationSharingPolicies, getApplicationSharingPolicy, getApplications, getApplications as getApplications$1, getAuthorizationDetailType, getAuthorizationDetailTypes, getClientRegistration, getConfigurationVersion, getConfigurationVersions, getConnection, getConnectionUsages, getConnections, getConnectionsMeta, getConsentElementDecision, getCredentialConfiguration, getCredentialConfigurations, getDefaultI18nBundles, getDesignTheme, getDesignThemeUsages, getDesignThemes, getFlow, getFlowMeta, getFlowOverlayRules, getFlowSharingPolicies, getFlowSharingPolicy, getFlowStepComponents, getFlowUsages, getFlowVariables, getFlowVersion, getFlowVersions, getFlows, getFlows as getFlows$1, getGateway, getGatewayAppliedConfiguration, getGatewayAppliedVersion, getGatewayConfigurationDiff, getGatewayMaster, getGatewayMasterHistory, getGatewayMasterResource, getGatewaySecret, getGatewaySecrets, getGatewayVariable, getGatewayVariables, getGateways, getGroup, getGroup as getGroup$1, getGroupMembers, getGroupMembers as getGroupMembers$1, getGroups, getGroups as getGroups$1, getGroupsByPath, getLanguages, getLayout, getLayoutUsages, getLayouts, getNotificationTemplate, getNotificationTemplates, getOrganizationUnit, getOrganizationUnit as getOrganizationUnit$1, getOrganizationUnitByPath, getOrganizationUnitChildren, getOrganizationUnitChildren as getOrganizationUnitChildren$1, getOrganizationUnitGroups, getOrganizationUnitGroups as getOrganizationUnitGroups$1, getOrganizationUnitRoles, getOrganizationUnitRoles as getOrganizationUnitRoles$1, getOrganizationUnitUsers, getOrganizationUnitUsers as getOrganizationUnitUsers$1, getOrganizationUnits, getOrganizationUnits as getOrganizationUnits$1, getPresentationDefinition, getPresentationDefinitions, getProject, getProject as getProject$1, getProjects, getProjects as getProjects$1, getResource, getResourceServer, getResourceServerPermissions, getResourceServerPermissions as getResourceServerPermissions$1, getResourceServers, getResourceServers as getResourceServers$1, getResources, getRole, getRole as getRole$1, getRoleAssignments, getRoleAssignments as getRoleAssignments$1, getRoleOverlayRules, getRoleSharingPolicies, getRoleSharingPolicy, getRoles, getRoles as getRoles$1, getSecret, getSecrets, getSelectMessages, getServerConfig, getServerConfigs, getSharingPolicyOperations, getSupportedAuthorizationDetailsType, getSupportedAuthorizationDetailsTypes, getTokenPermissions, getUser, getUser as getUser$1, getUserGroups, getUserGroups as getUserGroups$1, getUserOverlayRules, getUserSharingPolicies, getUserSharingPolicy, getUserType, getUserTypes, getUserTypes as getUserTypes$1, getUserUsages, getUsers, getUsers as getUsers$1, getUsersByPath, getUsersMe, getUsersMeMeta, getVariable, getVariables, getVendorPrefix, getVerifiedAttributes, getVerifiedAttributes as getVerifiedAttributes$1, handleWebAuthnAuthentication, hasAuthParamsInUrl, hasAuthParamsInUrl as hasAuthParamsInUrl$1, hasCalledForThisInstanceInUrl, hasPermission, hasPermission as hasPermission$1, hasUnresolvedTranslationParams, http, importConfiguration, isApplicationSubmissionValid, isEmojiUri, isEmpty, isFlowExpiredError, isFlowMetaUnavailableError, isSharingPolicyFormValid, isVerifiableAttribute, isVerifiableAttribute as isVerifiableAttribute$1, loadUntilOptionsGrow, mapCredentialUpdateError, mergeOptionsBatch, navigate, navigate as navigate$1, normalizeBorderRadius, normalizeSelectOptions, normalizeTranslations, parseKeyValuePairs, parseKeyValuePairs as parseKeyValuePairs$1, parseRedirectUris, previewCimdDocument, readCurrentProject, regenerateAgentSecret, regenerateClientSecret, regenerateClientSecret as regenerateClientSecret$1, regenerateFlowSecret, registerClient, removeGroupMembers, removeGroupMembers as removeGroupMembers$1, removeRoleAssignments, removeRoleAssignments as removeRoleAssignments$1, resolveAdministrationFlowHandles, resolveAdministrationFlowId, resolveAdministrationFlows, resolveAdministrationFlows as resolveAdministrationFlows$1, resolveChangeCredentialPolicy, resolveDesign, resolveFlowTemplateLiterals, resolveLogoUri, resolveManagedIdentityName, resolvePageSize, resolveRequestBaseUrl, resolveResourceEndpoint, resolveTranslation, resolveTranslations, restoreFlowVersion, revertGatewayConfiguration, runAccountLifecycleAction, runAccountLifecycleAction as runAccountLifecycleAction$1, runAdministrationFlow, setTranslation, setTranslations, startCase, substituteTranslationParams, supportsCredential, suspendAgent, suspendApplication, suspendUser, toAuthFlowSelectPage, toCreateApplicationRequest, toEqualityFilter, toError, toManagementErrorMessage, toSharingPolicyFormValues, toSharingPolicyRequest, toSharingPolicyUpdateRequest, toUpdateApplicationRequest, toUserSelectPage, toUserTypeSelectPage, unlockAgent, unlockUser, unsuspendAgent, unsuspendApplication, unsuspendUser, updateAction, updateAgent, updateAgentType, updateApplication, updateApplication as updateApplication$1, updateApplicationSharingPolicy, updateAuthorizationDetailType, updateClientRegistration, updateConnection, updateCredentialConfiguration, updateDesignTheme, updateFlow, updateFlowSharingPolicy, updateFlowVariables, updateGateway, updateGatewaySecret, updateGatewayVariable, updateGroup, updateLayout, updateMeCredentials, updateMeProfile, updateNotificationTemplate, updateOrganizationUnit, updateOrganizationUnit as updateOrganizationUnit$1, updateOrganizationUnitByPath, updatePresentationDefinition, updateProject, updateProject as updateProject$1, updateResource, updateResourceServer, updateRole, updateRole as updateRole$1, updateRoleSharingPolicy, updateSecret, updateServerConfig, updateUser, updateUser as updateUser$1, updateUserCredentials, updateUserSharingPolicy, updateUserType, updateVariable, withVendorCSSClassPrefix, writeCurrentProject } from "@thunderid/browser";
|
|
2
2
|
import { Comment, Fragment, Teleport, cloneVNode, computed, defineComponent, getCurrentInstance, getCurrentScope, h, inject, isVNode, nextTick, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, provide, readonly, ref, shallowReadonly, shallowRef, toValue, useId, watch } from "vue";
|
|
3
3
|
import DOMPurify from "dompurify";
|
|
4
4
|
|
|
@@ -60,6 +60,26 @@ const FlowMetaProvider = defineComponent({
|
|
|
60
60
|
const baseUrl = thunderIDContext?.baseUrl;
|
|
61
61
|
const applicationId = thunderIDContext?.applicationId;
|
|
62
62
|
const flowMetaUrl = resolveResourceEndpoint("flowMeta", { endpoints: thunderIDContext?.endpoints });
|
|
63
|
+
const loadMeta = async (language) => {
|
|
64
|
+
try {
|
|
65
|
+
if (props.fetchMeta) return await props.fetchMeta({
|
|
66
|
+
applicationId,
|
|
67
|
+
...language ? { language } : {}
|
|
68
|
+
}) ?? null;
|
|
69
|
+
return await getFlowMeta({
|
|
70
|
+
baseUrl,
|
|
71
|
+
url: flowMetaUrl,
|
|
72
|
+
...applicationId ? {
|
|
73
|
+
id: applicationId,
|
|
74
|
+
type: FlowMetaType.App
|
|
75
|
+
} : {},
|
|
76
|
+
...language ? { language } : {}
|
|
77
|
+
});
|
|
78
|
+
} catch (err) {
|
|
79
|
+
if (isFlowMetaUnavailableError(err)) return null;
|
|
80
|
+
throw err;
|
|
81
|
+
}
|
|
82
|
+
};
|
|
63
83
|
const fetchFlowMeta = async () => {
|
|
64
84
|
if (!props.enabled) {
|
|
65
85
|
meta.value = null;
|
|
@@ -68,14 +88,7 @@ const FlowMetaProvider = defineComponent({
|
|
|
68
88
|
isLoading.value = true;
|
|
69
89
|
error.value = null;
|
|
70
90
|
try {
|
|
71
|
-
meta.value =
|
|
72
|
-
baseUrl,
|
|
73
|
-
url: flowMetaUrl,
|
|
74
|
-
...applicationId ? {
|
|
75
|
-
id: applicationId,
|
|
76
|
-
type: FlowMetaType.App
|
|
77
|
-
} : {}
|
|
78
|
-
});
|
|
91
|
+
meta.value = await loadMeta();
|
|
79
92
|
} catch (err) {
|
|
80
93
|
error.value = err instanceof Error ? err : new Error(String(err));
|
|
81
94
|
} finally {
|
|
@@ -87,19 +100,8 @@ const FlowMetaProvider = defineComponent({
|
|
|
87
100
|
isLoading.value = true;
|
|
88
101
|
error.value = null;
|
|
89
102
|
try {
|
|
90
|
-
const result =
|
|
91
|
-
|
|
92
|
-
language
|
|
93
|
-
}) : await getFlowMeta({
|
|
94
|
-
baseUrl,
|
|
95
|
-
url: flowMetaUrl,
|
|
96
|
-
...applicationId ? {
|
|
97
|
-
id: applicationId,
|
|
98
|
-
type: FlowMetaType.App
|
|
99
|
-
} : {},
|
|
100
|
-
language
|
|
101
|
-
});
|
|
102
|
-
if (result.i18n?.translations && i18nContext?.injectBundles) {
|
|
103
|
+
const result = await loadMeta(language);
|
|
104
|
+
if (result?.i18n?.translations && i18nContext?.injectBundles) {
|
|
103
105
|
const flatTranslations = {};
|
|
104
106
|
Object.entries(result.i18n.translations).forEach(([namespace, keys]) => {
|
|
105
107
|
Object.entries(keys).forEach(([key, value]) => {
|
|
@@ -1135,6 +1137,7 @@ const ThunderIDProvider = defineComponent({
|
|
|
1135
1137
|
}
|
|
1136
1138
|
return await client.signIn(...args);
|
|
1137
1139
|
} catch (error) {
|
|
1140
|
+
if (error instanceof ThunderIDAPIError$1) throw error;
|
|
1138
1141
|
throw new ThunderIDRuntimeError$1(`Sign in failed: ${error instanceof Error ? error.message : String(JSON.stringify(error))}`, "thunderid-signIn-Error", "vue", "An error occurred while trying to sign in.");
|
|
1139
1142
|
} finally {
|
|
1140
1143
|
if (!isV2FlowRequest) {
|
|
@@ -2973,6 +2976,56 @@ const CONSENT_CSS = `
|
|
|
2973
2976
|
`;
|
|
2974
2977
|
var Consent_css_default = CONSENT_CSS;
|
|
2975
2978
|
|
|
2979
|
+
//#endregion
|
|
2980
|
+
//#region src/components/auth/flow/FlowExpired.css.ts
|
|
2981
|
+
const FLOW_EXPIRED_CSS = `
|
|
2982
|
+
.${withVendorCSSClassPrefix("flow-expired")} {
|
|
2983
|
+
align-items: center;
|
|
2984
|
+
display: flex;
|
|
2985
|
+
flex-direction: column;
|
|
2986
|
+
gap: calc(var(--thunderid-spacing-unit) * 1.5);
|
|
2987
|
+
padding-block: var(--thunderid-spacing-unit);
|
|
2988
|
+
text-align: center;
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2991
|
+
/* Focused only for a screen reader to read it, so it shows no ring. It is not a control. */
|
|
2992
|
+
.${withVendorCSSClassPrefix("flow-expired")}:focus {
|
|
2993
|
+
outline: none;
|
|
2994
|
+
}
|
|
2995
|
+
|
|
2996
|
+
.${withVendorCSSClassPrefix("flow-expired__icon")} {
|
|
2997
|
+
color: var(--thunderid-color-warning-main);
|
|
2998
|
+
display: flex;
|
|
2999
|
+
}
|
|
3000
|
+
|
|
3001
|
+
.${withVendorCSSClassPrefix("flow-expired__action")} {
|
|
3002
|
+
margin-top: var(--thunderid-spacing-unit);
|
|
3003
|
+
}
|
|
3004
|
+
|
|
3005
|
+
/* Keeps the text on one line, with its own spaces. */
|
|
3006
|
+
.${withVendorCSSClassPrefix("flow-expired__link")} {
|
|
3007
|
+
color: var(--thunderid-color-primary-main);
|
|
3008
|
+
display: inline-flex;
|
|
3009
|
+
font-weight: var(--thunderid-typography-fontWeight-semibold);
|
|
3010
|
+
margin-top: var(--thunderid-spacing-unit);
|
|
3011
|
+
max-width: 100%;
|
|
3012
|
+
text-decoration: none;
|
|
3013
|
+
white-space: pre;
|
|
3014
|
+
}
|
|
3015
|
+
|
|
3016
|
+
.${withVendorCSSClassPrefix("flow-expired__link")}:hover {
|
|
3017
|
+
text-decoration: underline;
|
|
3018
|
+
}
|
|
3019
|
+
|
|
3020
|
+
.${withVendorCSSClassPrefix("flow-expired__name")} {
|
|
3021
|
+
min-width: 0;
|
|
3022
|
+
overflow: hidden;
|
|
3023
|
+
text-overflow: ellipsis;
|
|
3024
|
+
white-space: nowrap;
|
|
3025
|
+
}
|
|
3026
|
+
`;
|
|
3027
|
+
var FlowExpired_css_default = FLOW_EXPIRED_CSS;
|
|
3028
|
+
|
|
2976
3029
|
//#endregion
|
|
2977
3030
|
//#region src/components/auth/sign-in/BaseSignIn.css.ts
|
|
2978
3031
|
/**
|
|
@@ -4697,6 +4750,7 @@ const STYLES = [
|
|
|
4697
4750
|
DataTable_css_default,
|
|
4698
4751
|
BaseSignIn_css_default,
|
|
4699
4752
|
Consent_css_default,
|
|
4753
|
+
FlowExpired_css_default,
|
|
4700
4754
|
BaseDeviceGrant_css_default,
|
|
4701
4755
|
ChangeCredential_css_default,
|
|
4702
4756
|
OrganizationUnitSwitcher_css_default,
|
|
@@ -5071,6 +5125,201 @@ const useFetchAuthFlows = () => {
|
|
|
5071
5125
|
};
|
|
5072
5126
|
var useFetchAuthFlows_default = useFetchAuthFlows;
|
|
5073
5127
|
|
|
5128
|
+
//#endregion
|
|
5129
|
+
//#region src/composables/auth/useFlowExpiry.ts
|
|
5130
|
+
const MAX_TIMEOUT_MS = 2147483647;
|
|
5131
|
+
/**
|
|
5132
|
+
* Expiry of a flow execution, from the `expiresIn` of its latest step response or a refusal the caller
|
|
5133
|
+
* reports with `expireFlow()`. `expiresIn` is counted from when the response arrived, on this device's own
|
|
5134
|
+
* clock, so a device clock that differs from the server's does not move the expiry. The expiry is raised
|
|
5135
|
+
* when that time passes, and re-checked when the page becomes visible again, since a timer can fire late in
|
|
5136
|
+
* a background tab or after the device sleeps. It is keyed to `step`, so a new step response clears it.
|
|
5137
|
+
*
|
|
5138
|
+
* @param step - The latest step response, a new object for each response. Null or undefined before one.
|
|
5139
|
+
*/
|
|
5140
|
+
const useFlowExpiry = (step) => {
|
|
5141
|
+
const expiredFor = shallowRef(null);
|
|
5142
|
+
const isFlowExpired = computed(() => expiredFor.value !== null && expiredFor.value.step === toValue(step));
|
|
5143
|
+
const expireFlow = () => {
|
|
5144
|
+
if (!isFlowExpired.value) expiredFor.value = { step: toValue(step) };
|
|
5145
|
+
};
|
|
5146
|
+
const resetFlowExpiry = () => {
|
|
5147
|
+
expiredFor.value = null;
|
|
5148
|
+
};
|
|
5149
|
+
watch(() => toValue(step), (current, _previous, onCleanup) => {
|
|
5150
|
+
const expiresIn = current?.expiresIn;
|
|
5151
|
+
if (expiresIn === void 0) return;
|
|
5152
|
+
const delay = Math.max(expiresIn * 1e3, 0);
|
|
5153
|
+
const deadline = Date.now() + delay;
|
|
5154
|
+
const checkExpiry = () => {
|
|
5155
|
+
if (Date.now() >= deadline) expireFlow();
|
|
5156
|
+
};
|
|
5157
|
+
const onVisibilityChange = () => {
|
|
5158
|
+
if (document.visibilityState === "visible") checkExpiry();
|
|
5159
|
+
};
|
|
5160
|
+
const timerId = delay <= MAX_TIMEOUT_MS ? setTimeout(checkExpiry, delay) : void 0;
|
|
5161
|
+
document.addEventListener("visibilitychange", onVisibilityChange);
|
|
5162
|
+
onCleanup(() => {
|
|
5163
|
+
clearTimeout(timerId);
|
|
5164
|
+
document.removeEventListener("visibilitychange", onVisibilityChange);
|
|
5165
|
+
});
|
|
5166
|
+
}, { immediate: true });
|
|
5167
|
+
return {
|
|
5168
|
+
expireFlow,
|
|
5169
|
+
expiry: computed(() => isFlowExpired.value ? expiredFor.value : null),
|
|
5170
|
+
isFlowExpired,
|
|
5171
|
+
resetFlowExpiry
|
|
5172
|
+
};
|
|
5173
|
+
};
|
|
5174
|
+
var useFlowExpiry_default = useFlowExpiry;
|
|
5175
|
+
|
|
5176
|
+
//#endregion
|
|
5177
|
+
//#region src/composables/auth/useWhenUserPresent.ts
|
|
5178
|
+
/** Whether the user is looking at the page now, i.e. it is visible and has focus. */
|
|
5179
|
+
const isUserPresent = () => document.visibilityState === "visible" && document.hasFocus();
|
|
5180
|
+
/**
|
|
5181
|
+
* Runs `action` once while `enabled`, as soon as the user is on the page: at once when they already are, or
|
|
5182
|
+
* when they come back to the tab or the window. Lets an expired flow wait for the user before it acts, so a
|
|
5183
|
+
* user who left the tab still sees what happened.
|
|
5184
|
+
*
|
|
5185
|
+
* @param enabled - Whether to run the action. A change to `true` arms it again.
|
|
5186
|
+
* @param action - What to run. The latest one runs.
|
|
5187
|
+
*/
|
|
5188
|
+
const useWhenUserPresent = (enabled, action) => {
|
|
5189
|
+
watch(() => toValue(enabled), (isEnabled, _previous, onCleanup) => {
|
|
5190
|
+
if (!isEnabled) return;
|
|
5191
|
+
let done = false;
|
|
5192
|
+
const run = () => {
|
|
5193
|
+
if (!done) {
|
|
5194
|
+
done = true;
|
|
5195
|
+
action();
|
|
5196
|
+
}
|
|
5197
|
+
};
|
|
5198
|
+
const runOnReturn = () => {
|
|
5199
|
+
if (document.visibilityState === "visible") run();
|
|
5200
|
+
};
|
|
5201
|
+
const timerId = setTimeout(() => {
|
|
5202
|
+
if (isUserPresent()) run();
|
|
5203
|
+
}, 0);
|
|
5204
|
+
document.addEventListener("visibilitychange", runOnReturn);
|
|
5205
|
+
window.addEventListener("focus", runOnReturn);
|
|
5206
|
+
onCleanup(() => {
|
|
5207
|
+
clearTimeout(timerId);
|
|
5208
|
+
document.removeEventListener("visibilitychange", runOnReturn);
|
|
5209
|
+
window.removeEventListener("focus", runOnReturn);
|
|
5210
|
+
});
|
|
5211
|
+
}, { immediate: true });
|
|
5212
|
+
};
|
|
5213
|
+
var useWhenUserPresent_default = useWhenUserPresent;
|
|
5214
|
+
|
|
5215
|
+
//#endregion
|
|
5216
|
+
//#region src/composables/auth/useFlowExpiryRedirect.ts
|
|
5217
|
+
/** How long an expired flow counts down before it sends the user back to the application. */
|
|
5218
|
+
const FLOW_EXPIRY_REDIRECT_SECONDS = 10;
|
|
5219
|
+
/** How long the page waits after the redirect before it treats the redirect as not having happened. */
|
|
5220
|
+
const REDIRECT_FALLBACK_MS = 3e3;
|
|
5221
|
+
/**
|
|
5222
|
+
* Counts down and sends the user back to `url` once a flow expires. The countdown starts only while the user
|
|
5223
|
+
* is on the page, so a user who comes back to the tab still sees why they are being sent back. The state is
|
|
5224
|
+
* keyed to `expiry`, so a new expiry starts over.
|
|
5225
|
+
*
|
|
5226
|
+
* @param expiry - The expiry being handled, from `useFlowExpiry`, or null while the flow is active.
|
|
5227
|
+
* @param url - Where to send the user back to. Without it there is no redirect.
|
|
5228
|
+
* @returns The countdown, or null when there is nothing to count down.
|
|
5229
|
+
*/
|
|
5230
|
+
const useFlowExpiryRedirect = (expiry, url) => {
|
|
5231
|
+
const started = shallowRef(null);
|
|
5232
|
+
const failedFor = shallowRef(null);
|
|
5233
|
+
const now = ref(Date.now());
|
|
5234
|
+
const isActive = computed(() => toValue(expiry) !== null && Boolean(toValue(url)));
|
|
5235
|
+
const isStarted = computed(() => isActive.value && started.value !== null && started.value.expiry === toValue(expiry));
|
|
5236
|
+
const isRedirectFailed = computed(() => isActive.value && failedFor.value !== null && failedFor.value === toValue(expiry));
|
|
5237
|
+
useWhenUserPresent_default(isActive, () => {
|
|
5238
|
+
const current = toValue(expiry);
|
|
5239
|
+
if (current !== null) started.value = {
|
|
5240
|
+
at: Date.now(),
|
|
5241
|
+
expiry: current
|
|
5242
|
+
};
|
|
5243
|
+
});
|
|
5244
|
+
watch([
|
|
5245
|
+
isStarted,
|
|
5246
|
+
started,
|
|
5247
|
+
() => toValue(url)
|
|
5248
|
+
], (_values, _previous, onCleanup) => {
|
|
5249
|
+
const target = toValue(url);
|
|
5250
|
+
if (!isStarted.value || started.value === null || !target) return;
|
|
5251
|
+
const { at, expiry: startedFor } = started.value;
|
|
5252
|
+
const intervalId = setInterval(() => {
|
|
5253
|
+
now.value = Date.now();
|
|
5254
|
+
}, 1e3);
|
|
5255
|
+
let fallbackId;
|
|
5256
|
+
const redirectId = setTimeout(() => {
|
|
5257
|
+
clearInterval(intervalId);
|
|
5258
|
+
now.value = Date.now();
|
|
5259
|
+
try {
|
|
5260
|
+
window.location.replace(target);
|
|
5261
|
+
} catch {
|
|
5262
|
+
failedFor.value = startedFor;
|
|
5263
|
+
return;
|
|
5264
|
+
}
|
|
5265
|
+
fallbackId = setTimeout(() => {
|
|
5266
|
+
failedFor.value = startedFor;
|
|
5267
|
+
}, REDIRECT_FALLBACK_MS);
|
|
5268
|
+
}, Math.max(at + FLOW_EXPIRY_REDIRECT_SECONDS * 1e3 - Date.now(), 0));
|
|
5269
|
+
onCleanup(() => {
|
|
5270
|
+
clearInterval(intervalId);
|
|
5271
|
+
clearTimeout(redirectId);
|
|
5272
|
+
clearTimeout(fallbackId);
|
|
5273
|
+
});
|
|
5274
|
+
}, { immediate: true });
|
|
5275
|
+
return computed(() => {
|
|
5276
|
+
const target = toValue(url);
|
|
5277
|
+
if (!isActive.value || !target) return null;
|
|
5278
|
+
const remainingMs = isStarted.value && started.value ? started.value.at + FLOW_EXPIRY_REDIRECT_SECONDS * 1e3 - now.value : Infinity;
|
|
5279
|
+
return {
|
|
5280
|
+
countdownSeconds: FLOW_EXPIRY_REDIRECT_SECONDS,
|
|
5281
|
+
isCountingDown: isStarted.value && !isRedirectFailed.value,
|
|
5282
|
+
isRedirectFailed: isRedirectFailed.value,
|
|
5283
|
+
secondsLeft: Math.min(Math.max(Math.ceil(remainingMs / 1e3), 0), FLOW_EXPIRY_REDIRECT_SECONDS),
|
|
5284
|
+
url: target
|
|
5285
|
+
};
|
|
5286
|
+
});
|
|
5287
|
+
};
|
|
5288
|
+
var useFlowExpiryRedirect_default = useFlowExpiryRedirect;
|
|
5289
|
+
|
|
5290
|
+
//#endregion
|
|
5291
|
+
//#region src/composables/auth/useFlowExpiryHandling.ts
|
|
5292
|
+
/**
|
|
5293
|
+
* What a flow component does once its execution expires. With `afterFlowExpiredUrl`, it counts down and sends
|
|
5294
|
+
* the user back there. Otherwise, when it can, it starts the flow again in place once the user is on the page,
|
|
5295
|
+
* and says so. When it can do neither, the user is left to go back to the application.
|
|
5296
|
+
*/
|
|
5297
|
+
const useFlowExpiryHandling = ({ afterFlowExpiredUrl = void 0, canRestart, restart, step = void 0 }) => {
|
|
5298
|
+
const { expireFlow, expiry, isFlowExpired, resetFlowExpiry } = useFlowExpiry_default(step);
|
|
5299
|
+
const flowExpiryRedirect = useFlowExpiryRedirect_default(expiry, () => toValue(afterFlowExpiredUrl));
|
|
5300
|
+
const isFlowRestarted = ref(false);
|
|
5301
|
+
const restartsInPlace = computed(() => !toValue(afterFlowExpiredUrl) && toValue(canRestart));
|
|
5302
|
+
const restartFlow = () => {
|
|
5303
|
+
resetFlowExpiry();
|
|
5304
|
+
isFlowRestarted.value = true;
|
|
5305
|
+
restart();
|
|
5306
|
+
};
|
|
5307
|
+
const clearFlowRestarted = () => {
|
|
5308
|
+
isFlowRestarted.value = false;
|
|
5309
|
+
};
|
|
5310
|
+
useWhenUserPresent_default(() => isFlowExpired.value && restartsInPlace.value, restartFlow);
|
|
5311
|
+
return {
|
|
5312
|
+
clearFlowRestarted,
|
|
5313
|
+
expireFlow,
|
|
5314
|
+
flowExpiryRedirect,
|
|
5315
|
+
isFlowExpired,
|
|
5316
|
+
isFlowRestarted,
|
|
5317
|
+
restartFlow,
|
|
5318
|
+
restartsInPlace
|
|
5319
|
+
};
|
|
5320
|
+
};
|
|
5321
|
+
var useFlowExpiryHandling_default = useFlowExpiryHandling;
|
|
5322
|
+
|
|
5074
5323
|
//#endregion
|
|
5075
5324
|
//#region src/composables/management/useInfiniteOptions.ts
|
|
5076
5325
|
const logger$5 = createPackageComponentLogger("@thunderid/vue", "useInfiniteOptions");
|
|
@@ -8945,6 +9194,113 @@ const renderInviteUserComponents = (components, formValues, touchedFields, formE
|
|
|
8945
9194
|
key: component.id || index
|
|
8946
9195
|
})).filter((v) => v !== null);
|
|
8947
9196
|
|
|
9197
|
+
//#endregion
|
|
9198
|
+
//#region src/components/auth/flow/FlowExpired.ts
|
|
9199
|
+
const APPLICATION_MARKER = "\0";
|
|
9200
|
+
const TimerIcon = () => h("svg", {
|
|
9201
|
+
fill: "none",
|
|
9202
|
+
height: "44",
|
|
9203
|
+
stroke: "currentColor",
|
|
9204
|
+
"stroke-linecap": "round",
|
|
9205
|
+
"stroke-linejoin": "round",
|
|
9206
|
+
"stroke-width": "1.6",
|
|
9207
|
+
viewBox: "0 0 24 24",
|
|
9208
|
+
width: "44",
|
|
9209
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9210
|
+
}, [
|
|
9211
|
+
h("line", {
|
|
9212
|
+
x1: "10",
|
|
9213
|
+
x2: "14",
|
|
9214
|
+
y1: "2",
|
|
9215
|
+
y2: "2"
|
|
9216
|
+
}),
|
|
9217
|
+
h("line", {
|
|
9218
|
+
x1: "12",
|
|
9219
|
+
x2: "15",
|
|
9220
|
+
y1: "14",
|
|
9221
|
+
y2: "11"
|
|
9222
|
+
}),
|
|
9223
|
+
h("circle", {
|
|
9224
|
+
cx: "12",
|
|
9225
|
+
cy: "14",
|
|
9226
|
+
r: "8"
|
|
9227
|
+
})
|
|
9228
|
+
]);
|
|
9229
|
+
/**
|
|
9230
|
+
* Shown in place of a sign-in or sign-up flow whose execution expired. The flow cannot continue, so it counts
|
|
9231
|
+
* down to the application, offers to start again, or tells the user to go back to the application.
|
|
9232
|
+
*/
|
|
9233
|
+
const FlowExpired = defineComponent({
|
|
9234
|
+
name: "FlowExpired",
|
|
9235
|
+
props: {
|
|
9236
|
+
onRestart: {
|
|
9237
|
+
default: void 0,
|
|
9238
|
+
type: Function
|
|
9239
|
+
},
|
|
9240
|
+
redirect: {
|
|
9241
|
+
default: null,
|
|
9242
|
+
type: Object
|
|
9243
|
+
}
|
|
9244
|
+
},
|
|
9245
|
+
setup(props) {
|
|
9246
|
+
const { meta } = useFlowMeta_default();
|
|
9247
|
+
const { t } = useI18n_default();
|
|
9248
|
+
const rootRef = ref(null);
|
|
9249
|
+
onMounted(() => {
|
|
9250
|
+
rootRef.value?.focus();
|
|
9251
|
+
});
|
|
9252
|
+
return () => {
|
|
9253
|
+
const { redirect, onRestart } = props;
|
|
9254
|
+
const name = meta.value?.application?.name;
|
|
9255
|
+
const application = name !== void 0 && name !== "" ? name : t("flow.expired.application");
|
|
9256
|
+
const renderAction = () => {
|
|
9257
|
+
if (redirect) {
|
|
9258
|
+
const [before = "", after = ""] = t(redirect.isCountingDown ? "flow.expired.redirect.now" : "flow.expired.redirect.link", { application: APPLICATION_MARKER }).split(APPLICATION_MARKER);
|
|
9259
|
+
return h("a", {
|
|
9260
|
+
class: withVendorCSSClassPrefix("flow-expired__link"),
|
|
9261
|
+
href: redirect.url
|
|
9262
|
+
}, [
|
|
9263
|
+
before,
|
|
9264
|
+
h("span", { class: withVendorCSSClassPrefix("flow-expired__name") }, application),
|
|
9265
|
+
after
|
|
9266
|
+
]);
|
|
9267
|
+
}
|
|
9268
|
+
if (onRestart) return h(Button_default, {
|
|
9269
|
+
class: withVendorCSSClassPrefix("flow-expired__action"),
|
|
9270
|
+
onClick: onRestart,
|
|
9271
|
+
variant: "outline"
|
|
9272
|
+
}, () => t("flow.expired.restart"));
|
|
9273
|
+
return null;
|
|
9274
|
+
};
|
|
9275
|
+
const description = () => {
|
|
9276
|
+
if (redirect?.isCountingDown) return t("flow.expired.redirecting", {
|
|
9277
|
+
application,
|
|
9278
|
+
seconds: redirect.secondsLeft
|
|
9279
|
+
});
|
|
9280
|
+
if (!redirect && onRestart) return t("flow.expired.restart.description");
|
|
9281
|
+
return t("flow.expired.return.description", { application });
|
|
9282
|
+
};
|
|
9283
|
+
return h("div", {
|
|
9284
|
+
class: withVendorCSSClassPrefix("flow-expired"),
|
|
9285
|
+
ref: rootRef,
|
|
9286
|
+
tabindex: -1
|
|
9287
|
+
}, [
|
|
9288
|
+
h("span", {
|
|
9289
|
+
"aria-hidden": "true",
|
|
9290
|
+
class: withVendorCSSClassPrefix("flow-expired__icon")
|
|
9291
|
+
}, [TimerIcon()]),
|
|
9292
|
+
h(Typography_default, {
|
|
9293
|
+
component: "h1",
|
|
9294
|
+
variant: "h5"
|
|
9295
|
+
}, () => t("flow.expired.heading")),
|
|
9296
|
+
h(Typography_default, { variant: "body1" }, () => description()),
|
|
9297
|
+
renderAction()
|
|
9298
|
+
]);
|
|
9299
|
+
};
|
|
9300
|
+
}
|
|
9301
|
+
});
|
|
9302
|
+
var FlowExpired_default = FlowExpired;
|
|
9303
|
+
|
|
8948
9304
|
//#endregion
|
|
8949
9305
|
//#region src/components/auth/sign-in/BaseSignIn.ts
|
|
8950
9306
|
const extractFormFields$1 = (flowComponents) => {
|
|
@@ -9009,6 +9365,10 @@ const BaseSignIn = defineComponent({
|
|
|
9009
9365
|
default: "",
|
|
9010
9366
|
type: String
|
|
9011
9367
|
},
|
|
9368
|
+
flowExpiryRedirect: {
|
|
9369
|
+
default: null,
|
|
9370
|
+
type: Object
|
|
9371
|
+
},
|
|
9012
9372
|
inputClassName: {
|
|
9013
9373
|
default: "",
|
|
9014
9374
|
type: String
|
|
@@ -9017,6 +9377,14 @@ const BaseSignIn = defineComponent({
|
|
|
9017
9377
|
default: () => ({}),
|
|
9018
9378
|
type: Object
|
|
9019
9379
|
},
|
|
9380
|
+
isFlowExpired: {
|
|
9381
|
+
default: false,
|
|
9382
|
+
type: Boolean
|
|
9383
|
+
},
|
|
9384
|
+
isFlowRestarted: {
|
|
9385
|
+
default: false,
|
|
9386
|
+
type: Boolean
|
|
9387
|
+
},
|
|
9020
9388
|
isLoading: {
|
|
9021
9389
|
default: false,
|
|
9022
9390
|
type: Boolean
|
|
@@ -9029,6 +9397,10 @@ const BaseSignIn = defineComponent({
|
|
|
9029
9397
|
default: "",
|
|
9030
9398
|
type: String
|
|
9031
9399
|
},
|
|
9400
|
+
onRestart: {
|
|
9401
|
+
default: void 0,
|
|
9402
|
+
type: Function
|
|
9403
|
+
},
|
|
9032
9404
|
onSubmit: {
|
|
9033
9405
|
default: void 0,
|
|
9034
9406
|
type: Function
|
|
@@ -9231,6 +9603,13 @@ const BaseSignIn = defineComponent({
|
|
|
9231
9603
|
class: [containerClass, attrs.class].filter(Boolean).join(" ")
|
|
9232
9604
|
}, slots["default"](renderProps));
|
|
9233
9605
|
}
|
|
9606
|
+
if (props.isFlowExpired) return h(Card_default, {
|
|
9607
|
+
class: containerClass,
|
|
9608
|
+
variant: props.variant
|
|
9609
|
+
}, () => h(FlowExpired_default, {
|
|
9610
|
+
onRestart: props.onRestart,
|
|
9611
|
+
redirect: props.flowExpiryRedirect
|
|
9612
|
+
}));
|
|
9234
9613
|
if (isLoading.value && (!props.components || props.components.length === 0)) return h(Card_default, {
|
|
9235
9614
|
class: containerClass,
|
|
9236
9615
|
variant: props.variant
|
|
@@ -9245,10 +9624,14 @@ const BaseSignIn = defineComponent({
|
|
|
9245
9624
|
...attrs,
|
|
9246
9625
|
class: [containerClass, attrs.class].filter(Boolean).join(" "),
|
|
9247
9626
|
variant: props.variant
|
|
9248
|
-
}, () => [(externalError || messages.length > 0) && h("div", { class: [withVendorCSSClassPrefix("signin__messages"), props.messageClassName].filter(Boolean).join(" ") }, [
|
|
9249
|
-
|
|
9250
|
-
|
|
9251
|
-
|
|
9627
|
+
}, () => [(props.isFlowRestarted || externalError || messages.length > 0) && h("div", { class: [withVendorCSSClassPrefix("signin__messages"), props.messageClassName].filter(Boolean).join(" ") }, [
|
|
9628
|
+
props.isFlowRestarted && h(Alert_default, { severity: "info" }, () => h(Typography_default, { variant: "body2" }, () => t("flow.expired.restarted"))),
|
|
9629
|
+
externalError && h(Alert_default, { severity: "error" }, () => h(Typography_default, { variant: "body2" }, () => externalError.message)),
|
|
9630
|
+
...messages.map((msg, index) => h(Alert_default, {
|
|
9631
|
+
key: index,
|
|
9632
|
+
severity: msg.type === "error" ? "error" : "info"
|
|
9633
|
+
}, () => h(Typography_default, { variant: "body2" }, () => msg.message)))
|
|
9634
|
+
]), h("div", { class: withVendorCSSClassPrefix("signin__content") }, renderComponents())]);
|
|
9252
9635
|
};
|
|
9253
9636
|
}
|
|
9254
9637
|
});
|
|
@@ -9388,6 +9771,10 @@ const handlePasskeyAuthentication = async (challengeData) => {
|
|
|
9388
9771
|
const SignIn = defineComponent({
|
|
9389
9772
|
name: "SignIn",
|
|
9390
9773
|
props: {
|
|
9774
|
+
afterFlowExpiredUrl: {
|
|
9775
|
+
default: void 0,
|
|
9776
|
+
type: String
|
|
9777
|
+
},
|
|
9391
9778
|
className: {
|
|
9392
9779
|
default: "",
|
|
9393
9780
|
type: String
|
|
@@ -9428,6 +9815,17 @@ const SignIn = defineComponent({
|
|
|
9428
9815
|
executionId: null,
|
|
9429
9816
|
isActive: false
|
|
9430
9817
|
});
|
|
9818
|
+
const flowExpiryStep = shallowRef(null);
|
|
9819
|
+
const startedApplicationId = ref(null);
|
|
9820
|
+
const isStartedByAuthorizeRequest = ref(false);
|
|
9821
|
+
const { clearFlowRestarted, expireFlow, flowExpiryRedirect, isFlowExpired, isFlowRestarted, restartFlow, restartsInPlace } = useFlowExpiryHandling_default({
|
|
9822
|
+
afterFlowExpiredUrl: () => props.afterFlowExpiredUrl,
|
|
9823
|
+
canRestart: () => Boolean(applicationId || startedApplicationId.value) && !isStartedByAuthorizeRequest.value,
|
|
9824
|
+
restart: () => {
|
|
9825
|
+
startFlowAgain();
|
|
9826
|
+
},
|
|
9827
|
+
step: flowExpiryStep
|
|
9828
|
+
});
|
|
9431
9829
|
let initializationAttempted = false;
|
|
9432
9830
|
const oauthCodeProcessedFlag = { value: false };
|
|
9433
9831
|
let passkeyProcessed = false;
|
|
@@ -9497,6 +9895,18 @@ const SignIn = defineComponent({
|
|
|
9497
9895
|
isFlowInitialized.value = true;
|
|
9498
9896
|
emit("error", flowError.value);
|
|
9499
9897
|
};
|
|
9898
|
+
const sessionExpiredError = (translate) => new ThunderIDRuntimeError$1(translate("errors.signin.session.expired") || "Your session has expired. Please return to the application and sign in again.", "SIGN_IN_ERROR", "vue");
|
|
9899
|
+
/**
|
|
9900
|
+
* Marks the flow as expired. Unless the flow is started again in place, the error follows from the expiry,
|
|
9901
|
+
* set by the watcher below; once already expired, it is set again here since a new submission clears it.
|
|
9902
|
+
*/
|
|
9903
|
+
const handleFlowExpired = () => {
|
|
9904
|
+
if (isFlowExpired.value && !restartsInPlace.value) setError(sessionExpiredError);
|
|
9905
|
+
else expireFlow();
|
|
9906
|
+
};
|
|
9907
|
+
watch(() => isFlowExpired.value && !restartsInPlace.value, (isExpiredForGood) => {
|
|
9908
|
+
if (isExpiredForGood) setError(sessionExpiredError);
|
|
9909
|
+
});
|
|
9500
9910
|
/**
|
|
9501
9911
|
* Updates challengeTokenRef immediately and persists via the provider's
|
|
9502
9912
|
* StorageManager so the token survives OAuth redirects.
|
|
@@ -9513,7 +9923,9 @@ const SignIn = defineComponent({
|
|
|
9513
9923
|
const urlParams = getUrlParams$1();
|
|
9514
9924
|
oauthCodeProcessedFlag.value = false;
|
|
9515
9925
|
await storeAuthId(urlParams.authId, urlParams.executionId);
|
|
9516
|
-
const effectiveApplicationId = applicationId || urlParams.applicationId;
|
|
9926
|
+
const effectiveApplicationId = applicationId || urlParams.applicationId || startedApplicationId.value;
|
|
9927
|
+
if (effectiveApplicationId) startedApplicationId.value = effectiveApplicationId;
|
|
9928
|
+
if (urlParams.authId) isStartedByAuthorizeRequest.value = true;
|
|
9517
9929
|
if (!urlParams.executionId && !effectiveApplicationId) {
|
|
9518
9930
|
setError(new ThunderIDRuntimeError$1("Either executionId or applicationId is required for authentication", "SIGN_IN_ERROR", "vue"));
|
|
9519
9931
|
return;
|
|
@@ -9545,16 +9957,31 @@ const SignIn = defineComponent({
|
|
|
9545
9957
|
additionalData.value = normalizedAdditionalData ?? {};
|
|
9546
9958
|
isFlowInitialized.value = true;
|
|
9547
9959
|
isTimeoutDisabled.value = false;
|
|
9960
|
+
flowExpiryStep.value = { expiresIn: response.expiresIn };
|
|
9548
9961
|
await storeAuthId(urlParams.authId, normalizedExecutionId);
|
|
9549
9962
|
cleanupFlowUrlParams();
|
|
9550
9963
|
}
|
|
9551
9964
|
} catch (error) {
|
|
9965
|
+
if (isFlowExpiredError(error)) {
|
|
9966
|
+
handleFlowExpired();
|
|
9967
|
+
return;
|
|
9968
|
+
}
|
|
9552
9969
|
const err = error;
|
|
9553
9970
|
clearFlowState();
|
|
9554
9971
|
setError(err);
|
|
9555
9972
|
initializationAttempted = false;
|
|
9556
9973
|
}
|
|
9557
9974
|
};
|
|
9975
|
+
/**
|
|
9976
|
+
* Starts an expired flow again for the application it was started for. The expired execution is dropped
|
|
9977
|
+
* from the URL and storage first, so the new flow does not resume it.
|
|
9978
|
+
*/
|
|
9979
|
+
const startFlowAgain = async () => {
|
|
9980
|
+
await clearFlowState();
|
|
9981
|
+
cleanupFlowUrlParams();
|
|
9982
|
+
flowExpiryStep.value = null;
|
|
9983
|
+
await initializeFlow();
|
|
9984
|
+
};
|
|
9558
9985
|
const handleSubmit = async (payload) => {
|
|
9559
9986
|
const effectiveExecutionId = payload.executionId || currentExecutionId.value;
|
|
9560
9987
|
if (!effectiveExecutionId) throw new Error("No active flow ID");
|
|
@@ -9578,6 +10005,7 @@ const SignIn = defineComponent({
|
|
|
9578
10005
|
...isDeny ? { reason: ConsentConstants.REASON_USER_DENIED } : {}
|
|
9579
10006
|
});
|
|
9580
10007
|
} catch {}
|
|
10008
|
+
clearFlowRestarted();
|
|
9581
10009
|
try {
|
|
9582
10010
|
isSubmitting.value = true;
|
|
9583
10011
|
flowErrorSource.value = null;
|
|
@@ -9639,12 +10067,17 @@ const SignIn = defineComponent({
|
|
|
9639
10067
|
additionalData.value = normalizedAdditionalData ?? {};
|
|
9640
10068
|
isTimeoutDisabled.value = false;
|
|
9641
10069
|
isFlowInitialized.value = true;
|
|
10070
|
+
flowExpiryStep.value = { expiresIn: response.expiresIn };
|
|
9642
10071
|
cleanupFlowUrlParams();
|
|
9643
10072
|
if (response?.error) flowErrorSource.value = response;
|
|
9644
10073
|
}
|
|
9645
10074
|
} catch (error) {
|
|
9646
10075
|
const err = error;
|
|
9647
10076
|
if (err instanceof Error && flowError.value === err) throw err;
|
|
10077
|
+
if (isFlowExpiredError(err)) {
|
|
10078
|
+
handleFlowExpired();
|
|
10079
|
+
return;
|
|
10080
|
+
}
|
|
9648
10081
|
clearFlowState();
|
|
9649
10082
|
setError(err);
|
|
9650
10083
|
} finally {
|
|
@@ -9772,7 +10205,10 @@ const SignIn = defineComponent({
|
|
|
9772
10205
|
additionalData: additionalData.value,
|
|
9773
10206
|
components: components.value,
|
|
9774
10207
|
error: flowError.value,
|
|
10208
|
+
flowExpiryRedirect: flowExpiryRedirect.value,
|
|
9775
10209
|
initialize: initializeFlow,
|
|
10210
|
+
isFlowExpired: isFlowExpired.value,
|
|
10211
|
+
isFlowRestarted: isFlowRestarted.value,
|
|
9776
10212
|
isInitialized: isFlowInitialized.value,
|
|
9777
10213
|
isLoading: combinedIsLoading,
|
|
9778
10214
|
isTimeoutDisabled: isTimeoutDisabled.value,
|
|
@@ -9787,9 +10223,13 @@ const SignIn = defineComponent({
|
|
|
9787
10223
|
class: props.className,
|
|
9788
10224
|
components: components.value,
|
|
9789
10225
|
error: flowError.value,
|
|
10226
|
+
flowExpiryRedirect: flowExpiryRedirect.value,
|
|
10227
|
+
isFlowExpired: isFlowExpired.value,
|
|
10228
|
+
isFlowRestarted: isFlowRestarted.value,
|
|
9790
10229
|
isLoading: combinedIsLoading || !isFlowInitialized.value,
|
|
9791
10230
|
isTimeoutDisabled: isTimeoutDisabled.value,
|
|
9792
10231
|
onError: (err) => emit("error", err),
|
|
10232
|
+
onRestart: restartsInPlace.value ? restartFlow : void 0,
|
|
9793
10233
|
onSubmit: handleSubmit,
|
|
9794
10234
|
size: props.size,
|
|
9795
10235
|
variant: props.variant
|
|
@@ -10322,6 +10762,10 @@ const extractFormFields = (components) => {
|
|
|
10322
10762
|
const BaseSignUp = defineComponent({
|
|
10323
10763
|
name: "BaseSignUp",
|
|
10324
10764
|
props: {
|
|
10765
|
+
afterFlowExpiredUrl: {
|
|
10766
|
+
default: void 0,
|
|
10767
|
+
type: String
|
|
10768
|
+
},
|
|
10325
10769
|
afterSignUpUrl: {
|
|
10326
10770
|
default: void 0,
|
|
10327
10771
|
type: String
|
|
@@ -10402,6 +10846,15 @@ const BaseSignUp = defineComponent({
|
|
|
10402
10846
|
const isLoading = ref(false);
|
|
10403
10847
|
const isFlowInitialized = ref(false);
|
|
10404
10848
|
const currentFlow = ref(null);
|
|
10849
|
+
const restartCount = ref(0);
|
|
10850
|
+
const { clearFlowRestarted, expireFlow, flowExpiryRedirect, isFlowExpired, isFlowRestarted, restartFlow, restartsInPlace } = useFlowExpiryHandling_default({
|
|
10851
|
+
afterFlowExpiredUrl: () => props.afterFlowExpiredUrl,
|
|
10852
|
+
canRestart: true,
|
|
10853
|
+
restart: () => {
|
|
10854
|
+
startFlowAgain();
|
|
10855
|
+
},
|
|
10856
|
+
step: () => currentFlow.value
|
|
10857
|
+
});
|
|
10405
10858
|
const apiErrorSource = shallowRef(null);
|
|
10406
10859
|
const apiError = computed(() => apiErrorSource.value === null ? null : resolveFlowError(apiErrorSource.value, t));
|
|
10407
10860
|
const flowMessages = ref([]);
|
|
@@ -10419,12 +10872,17 @@ const BaseSignUp = defineComponent({
|
|
|
10419
10872
|
let initializationAttempted = false;
|
|
10420
10873
|
let passkeyProcessed = false;
|
|
10421
10874
|
const handleError = (error) => {
|
|
10875
|
+
if (isFlowExpiredError(error)) expireFlow();
|
|
10422
10876
|
apiErrorSource.value = error;
|
|
10423
10877
|
flowMessages.value = [{
|
|
10424
10878
|
message: apiError.value.message,
|
|
10425
10879
|
type: "error"
|
|
10426
10880
|
}];
|
|
10427
10881
|
};
|
|
10882
|
+
const reportError = (error) => {
|
|
10883
|
+
if (restartsInPlace.value && isFlowExpiredError(error)) return;
|
|
10884
|
+
props.onError?.(error);
|
|
10885
|
+
};
|
|
10428
10886
|
watch(() => apiError.value?.message, (message) => {
|
|
10429
10887
|
if (message) flowMessages.value = [{
|
|
10430
10888
|
message,
|
|
@@ -10570,7 +11028,7 @@ const BaseSignUp = defineComponent({
|
|
|
10570
11028
|
popup.close();
|
|
10571
11029
|
} catch (err) {
|
|
10572
11030
|
handleError(err);
|
|
10573
|
-
|
|
11031
|
+
reportError(err);
|
|
10574
11032
|
popup.close();
|
|
10575
11033
|
cleanup();
|
|
10576
11034
|
}
|
|
@@ -10623,6 +11081,7 @@ const BaseSignUp = defineComponent({
|
|
|
10623
11081
|
if (!validateForm().isValid) return;
|
|
10624
11082
|
}
|
|
10625
11083
|
isLoading.value = true;
|
|
11084
|
+
clearFlowRestarted();
|
|
10626
11085
|
apiErrorSource.value = null;
|
|
10627
11086
|
flowMessages.value = [];
|
|
10628
11087
|
try {
|
|
@@ -10664,7 +11123,7 @@ const BaseSignUp = defineComponent({
|
|
|
10664
11123
|
}
|
|
10665
11124
|
} catch (err) {
|
|
10666
11125
|
handleError(err);
|
|
10667
|
-
|
|
11126
|
+
reportError(err);
|
|
10668
11127
|
} finally {
|
|
10669
11128
|
isLoading.value = false;
|
|
10670
11129
|
}
|
|
@@ -10709,10 +11168,14 @@ const BaseSignUp = defineComponent({
|
|
|
10709
11168
|
isActive: false
|
|
10710
11169
|
};
|
|
10711
11170
|
handleError(error);
|
|
10712
|
-
|
|
11171
|
+
reportError(error);
|
|
10713
11172
|
}
|
|
10714
11173
|
}, { deep: true });
|
|
10715
|
-
watch(() => [
|
|
11174
|
+
watch(() => [
|
|
11175
|
+
props.isInitialized,
|
|
11176
|
+
isFlowInitialized.value,
|
|
11177
|
+
restartCount.value
|
|
11178
|
+
], ([initialized, flowInit]) => {
|
|
10716
11179
|
if (typeof window !== "undefined") {
|
|
10717
11180
|
const urlParams = new URL(window.location.href).searchParams;
|
|
10718
11181
|
if (urlParams.get("code") || urlParams.get("state")) return;
|
|
@@ -10738,13 +11201,30 @@ const BaseSignUp = defineComponent({
|
|
|
10738
11201
|
}
|
|
10739
11202
|
} catch (err) {
|
|
10740
11203
|
handleError(err);
|
|
10741
|
-
|
|
11204
|
+
reportError(err);
|
|
10742
11205
|
} finally {
|
|
10743
11206
|
isLoading.value = false;
|
|
10744
11207
|
}
|
|
10745
11208
|
})();
|
|
10746
11209
|
}
|
|
10747
11210
|
}, { immediate: true });
|
|
11211
|
+
/**
|
|
11212
|
+
* Starts an expired flow again: clears it, drops the expired execution from the URL so it is not resumed,
|
|
11213
|
+
* and runs the initialization once more.
|
|
11214
|
+
*/
|
|
11215
|
+
const startFlowAgain = () => {
|
|
11216
|
+
currentFlow.value = null;
|
|
11217
|
+
apiErrorSource.value = null;
|
|
11218
|
+
flowMessages.value = [];
|
|
11219
|
+
if (typeof window !== "undefined" && window.location?.href) {
|
|
11220
|
+
const url = new URL(window.location.href);
|
|
11221
|
+
url.searchParams.delete("executionId");
|
|
11222
|
+
window.history.replaceState({}, "", url.toString());
|
|
11223
|
+
}
|
|
11224
|
+
initializationAttempted = false;
|
|
11225
|
+
isFlowInitialized.value = false;
|
|
11226
|
+
restartCount.value += 1;
|
|
11227
|
+
};
|
|
10748
11228
|
return () => {
|
|
10749
11229
|
const containerClass = [
|
|
10750
11230
|
withVendorCSSClassPrefix("signup"),
|
|
@@ -10758,8 +11238,11 @@ const BaseSignUp = defineComponent({
|
|
|
10758
11238
|
components: currentFlow.value?.data?.components || [],
|
|
10759
11239
|
error: apiError.value,
|
|
10760
11240
|
fieldErrors: formErrors.value,
|
|
11241
|
+
flowExpiryRedirect: flowExpiryRedirect.value,
|
|
10761
11242
|
handleInputChange,
|
|
10762
11243
|
handleSubmit,
|
|
11244
|
+
isFlowExpired: isFlowExpired.value,
|
|
11245
|
+
isFlowRestarted: isFlowRestarted.value,
|
|
10763
11246
|
isLoading: isLoading.value,
|
|
10764
11247
|
isValid: isFormValid.value,
|
|
10765
11248
|
messages: flowMessages.value,
|
|
@@ -10777,6 +11260,13 @@ const BaseSignUp = defineComponent({
|
|
|
10777
11260
|
};
|
|
10778
11261
|
return h("div", { class: containerClass }, slots["default"](renderProps));
|
|
10779
11262
|
}
|
|
11263
|
+
if (isFlowExpired.value) return h(Card_default, {
|
|
11264
|
+
class: containerClass,
|
|
11265
|
+
variant: props.variant
|
|
11266
|
+
}, () => h(FlowExpired_default, {
|
|
11267
|
+
onRestart: restartsInPlace.value ? restartFlow : void 0,
|
|
11268
|
+
redirect: flowExpiryRedirect.value
|
|
11269
|
+
}));
|
|
10780
11270
|
if (!isFlowInitialized.value && isLoading.value) return h(Card_default, {
|
|
10781
11271
|
class: containerClass,
|
|
10782
11272
|
variant: props.variant
|
|
@@ -10807,6 +11297,7 @@ const BaseSignUp = defineComponent({
|
|
|
10807
11297
|
style: "margin-top: 0.25rem",
|
|
10808
11298
|
variant: "body1"
|
|
10809
11299
|
}, () => subtitle) : null]) : null,
|
|
11300
|
+
isFlowRestarted.value ? h("div", { style: "padding: 0 1rem" }, h(Alert_default, { severity: "info" }, () => t("flow.expired.restarted"))) : null,
|
|
10810
11301
|
props.error ? h("div", { style: "padding: 0 1rem" }, h(Alert_default, { variant: "error" }, () => props.error.message)) : null,
|
|
10811
11302
|
flowMessages.value.length > 0 ? h("div", { style: "padding: 0 1rem" }, flowMessages.value.map((msg, i) => h(Alert_default, {
|
|
10812
11303
|
key: i,
|
|
@@ -10827,6 +11318,10 @@ var BaseSignUp_default = BaseSignUp;
|
|
|
10827
11318
|
const SignUp = defineComponent({
|
|
10828
11319
|
name: "SignUp",
|
|
10829
11320
|
props: {
|
|
11321
|
+
afterFlowExpiredUrl: {
|
|
11322
|
+
default: void 0,
|
|
11323
|
+
type: String
|
|
11324
|
+
},
|
|
10830
11325
|
afterSignUpUrl: {
|
|
10831
11326
|
default: void 0,
|
|
10832
11327
|
type: String
|
|
@@ -10903,6 +11398,7 @@ const SignUp = defineComponent({
|
|
|
10903
11398
|
if (props.shouldRedirectAfterSignUp && response?.type === EmbeddedFlowResponseType.Redirection && response?.data?.redirectURL && !response.data.redirectURL.includes("oauth") && !response.data.redirectURL.includes("auth")) window.location.href = response.data.redirectURL;
|
|
10904
11399
|
};
|
|
10905
11400
|
return () => h(BaseSignUp_default, {
|
|
11401
|
+
afterFlowExpiredUrl: props.afterFlowExpiredUrl,
|
|
10906
11402
|
afterSignUpUrl: props.afterSignUpUrl,
|
|
10907
11403
|
buttonClassName: props.buttonClassName,
|
|
10908
11404
|
className: props.className,
|
|
@@ -21613,4 +22109,4 @@ const createCallbackRoute = (options = {}) => {
|
|
|
21613
22109
|
};
|
|
21614
22110
|
|
|
21615
22111
|
//#endregion
|
|
21616
|
-
export { ADMINISTRATION_FLOW_TYPE, AcceptInvite_default as AcceptInvite, AccountLifecycleFlowConfigKey, AdministrationFlowConfigKey, AdministrationFlowData, AdministrationFlowError, AdministrationFlowInput, AdministrationModes, AgentCreate_default as AgentCreate, AgentDetails_default as AgentDetails, AgentList_default as AgentList, AgentQueryKeys, Alert_default as Alert, ApplicationCreate_default as ApplicationCreate, ApplicationDetails_default as ApplicationDetails, ApplicationList_default as ApplicationList, ApplicationQueryKeys, ArrowLeftRightIcon, AttributeVerificationConstants, Attribution_default as Attribution, AuthFlowSelect_default as AuthFlowSelect, BaseAcceptInvite_default as BaseAcceptInvite, BaseAgentCreate_default as BaseAgentCreate, BaseAgentDetails_default as BaseAgentDetails, BaseAgentList_default as BaseAgentList, BaseApplicationCreate_default as BaseApplicationCreate, BaseApplicationDetails_default as BaseApplicationDetails, BaseApplicationList_default as BaseApplicationList, BaseAuthFlowSelect_default as BaseAuthFlowSelect, BaseChangeCredential_default as BaseChangeCredential, BaseDeviceGrant_default as BaseDeviceGrant, BaseGroupCreate_default as BaseGroupCreate, BaseGroupDetails_default as BaseGroupDetails, BaseGroupList_default as BaseGroupList, BaseGroupMembers_default as BaseGroupMembers, BaseInviteUser_default as BaseInviteUser, BaseLanguageSwitcher_default as BaseLanguageSwitcher, BaseOrganizationUnitCreate_default as BaseOrganizationUnitCreate, BaseOrganizationUnitDetails_default as BaseOrganizationUnitDetails, BaseOrganizationUnitList_default as BaseOrganizationUnitList, BaseOrganizationUnitSwitcher_default as BaseOrganizationUnitSwitcher, BaseProjectCreate_default as BaseProjectCreate, BaseProjectDetails_default as BaseProjectDetails, BaseProjectList_default as BaseProjectList, BaseProjectSwitcher_default as BaseProjectSwitcher, BaseRoleAssignments_default as BaseRoleAssignments, BaseRoleCreate_default as BaseRoleCreate, BaseRoleDetails_default as BaseRoleDetails, BaseRoleList_default as BaseRoleList, BaseRolePermissions_default as BaseRolePermissions, BaseSharingPolicies_default as BaseSharingPolicies, BaseSignIn_default as BaseSignIn, BaseSignInButton_default as BaseSignInButton, BaseSignOutButton_default as BaseSignOutButton, BaseSignUp_default as BaseSignUp, BaseSignUpButton_default as BaseSignUpButton, BaseUserCreate_default as BaseUserCreate, BaseUserDetails_default as BaseUserDetails, BaseUserDropdown_default as BaseUserDropdown, BaseUserList_default as BaseUserList, BaseUserProfile_default as BaseUserProfile, BaseUserSelect_default as BaseUserSelect, BaseUserTypeSelect_default as BaseUserTypeSelect, BaseVerifyAttribute_default as BaseVerifyAttribute, BuildingIcon, Button_default as Button, Callback_default as Callback, Card_default as Card, ChangeCredential_default as ChangeCredential, CheckIcon, Checkbox_default as Checkbox, ChevronDownIcon, CircleAlertIcon, CircleCheckIcon, Consent_default as Consent, CopyableText_default as CopyableText, DEFAULT_USER_CREATE_FIELDS, DataTable_default as DataTable, DatePicker_default as DatePicker, DeviceGrant_default as DeviceGrant, Divider_default as Divider, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowEventType, EmbeddedFlowTextVariant, EmbeddedSelfFlowStatus, EmbeddedSignInFlowStatus, EmbeddedSignInFlowType, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowType, EyeIcon, EyeOffIcon, FLOW_KEY, FLOW_META_KEY, FacebookButton_default as FacebookButton, FieldFactory_default as FieldFactory, FieldType, FlowMetaProvider_default as FlowMetaProvider, FlowProvider_default as FlowProvider, GitHubButton_default as GitHubButton, GlobeIcon, GoogleButton_default as GoogleButton, GroupCreate_default as GroupCreate, GroupDetails_default as GroupDetails, GroupList_default as GroupList, GroupMembers_default as GroupMembers, GroupQueryKeys, I18N_KEY, I18nProvider_default as I18nProvider, InfoIcon, InviteUser_default as InviteUser, KeyValueList_default as KeyValueList, LanguageSwitcher_default as LanguageSwitcher, Loading_default as Loading, LogOutIcon, Logo_default as Logo, MicrosoftButton_default as MicrosoftButton, OrganizationUnitCreate_default as OrganizationUnitCreate, OrganizationUnitDetails_default as OrganizationUnitDetails, OrganizationUnitList_default as OrganizationUnitList, OrganizationUnitSwitchErrorCodes, OrganizationUnitSwitcher_default as OrganizationUnitSwitcher, OtpField_default as OtpField, PasswordField_default as PasswordField, PencilIcon, PlusIcon, ProjectCreate_default as ProjectCreate, ProjectDetails_default as ProjectDetails, ProjectList_default as ProjectList, ProjectSwitcher_default as ProjectSwitcher, RoleAssignments_default as RoleAssignments, RoleCreate_default as RoleCreate, RoleDetails_default as RoleDetails, RoleList_default as RoleList, RolePermissions_default as RolePermissions, RoleQueryKeys, Select_default as Select, SharingPolicies_default as SharingPolicies, SignIn_default as SignIn, SignInButton_default as SignInButton, SignOutButton_default as SignOutButton, SignUp_default as SignUp, SignUpButton_default as SignUpButton, SignedIn_default as SignedIn, SignedOut_default as SignedOut, Spinner_default as Spinner, THEME_KEY, THUNDERID_KEY, TextField_default as TextField, ThemeProvider_default as ThemeProvider, ThunderIDAPIError, ThunderIDPlugin_default as ThunderIDPlugin, ThunderIDProvider_default as ThunderIDProvider, ThunderIDRuntimeError, ThunderIDVueClient_default as ThunderIDVueClient, TriangleAlertIcon, Typography_default as Typography, USER_KEY, User_default as User, UserCreate_default as UserCreate, UserDetails_default as UserDetails, UserDropdown_default as UserDropdown, UserIcon, UserList_default as UserList, UserProfile_default as UserProfile, UserProvider_default as UserProvider, UserQueryKeys, UserSelect_default as UserSelect, UserTypeSelect_default as UserTypeSelect, VerifyAttribute_default as VerifyAttribute, XIcon, addGroupMembers, addRoleAssignments, applyGatewayConfiguration, buildThemeConfigFromFlowMeta_default as buildThemeConfigFromFlowMeta, createAction, createAgent, createAgentType, createApplication, createApplicationSharingPolicy, createAuthorizationDetailType, createCallbackRoute, createClassObserver, createConfigurationVersion, createConnection, createCredentialConfiguration, createDesignTheme, createField, createFlow, createFlowSharingPolicy, createGateway, createGatewaySecret, createGatewayVariable, createGroup, createGroupByPath, createLayout, createMediaQueryListener, createNotificationTemplate, createOrganizationUnit, createPresentationDefinition, createProject, createResource, createResourceInvalidator, createResourceServer, createRole, createRoleSharingPolicy, createSecret, createThunderIDGuard, createUser, createUserByPath, createUserSharingPolicy, createUserType, createVariable, deleteAction, deleteAgent, deleteAgentType, deleteApplication, deleteApplicationSharingPolicy, deleteAuthorizationDetailType, deleteClientRegistration, deleteConnection, deleteCredentialConfiguration, deleteDesignTheme, deleteFlow, deleteFlowSharingPolicy, deleteGateway, deleteGatewaySecret, deleteGatewayVariable, deleteGroup, deleteImportedConfiguration, deleteLayout, deleteNotificationTemplate, deleteOrganizationUnit, deleteOrganizationUnitByPath, deletePresentationDefinition, deleteProject, deleteResource, deleteResourceServer, deleteRole, deleteRoleSharingPolicy, deleteSecret, deleteTranslation, deleteTranslations, deleteUser, deleteUserSharingPolicy, deleteUserType, deleteVariable, detectThemeMode, executeAdministrationFlow, executeEmbeddedSelfFlow_default as executeEmbeddedSelfFlow, exportConfiguration, extractErrorMessage, findAdministrationFlows, getAccessibleOrganizationUnits_default as getAccessibleOrganizationUnits, getAccountLifecycleActions, getAction, getActions, getActiveTheme, getAgent, getAgentGroups, getAgentName, getAgentRoles, getAgentType, getAgentTypes, getAgents, getApplication, getApplicationOverlayRules, getApplicationSharingPolicies, getApplicationSharingPolicy, getApplications, getAuthComponentHeadings_default as getAuthComponentHeadings, getAuthorizationDetailType, getAuthorizationDetailTypes, getClientRegistration, getConfigurationVersion, getConfigurationVersions, getConnection, getConnectionUsages, getConnections, getConnectionsMeta, getCredentialConfiguration, getCredentialConfigurations, getDesignTheme, getDesignThemeUsages, getDesignThemes, getFlow, getFlowOverlayRules, getFlowSharingPolicies, getFlowSharingPolicy, getFlowUsages, getFlowVariables, getFlowVersion, getFlowVersions, getFlows, getGateway, getGatewayAppliedConfiguration, getGatewayAppliedVersion, getGatewayConfigurationDiff, getGatewayMaster, getGatewayMasterHistory, getGatewayMasterResource, getGatewaySecret, getGatewaySecrets, getGatewayVariable, getGatewayVariables, getGateways, getGroup, getGroupMembers, getGroups, getGroupsByPath, getLanguages, getLayout, getLayoutUsages, getLayouts, getNotificationTemplate, getNotificationTemplates, getOrganizationUnit, getOrganizationUnitByPath, getOrganizationUnitChildren, getOrganizationUnitGroups, getOrganizationUnitRoles, getOrganizationUnitUsers, getOrganizationUnits, getPresentationDefinition, getPresentationDefinitions, getProject, getProjects, getResource, getResourceServer, getResourceServerPermissions, getResourceServers, getResources, getRole, getRoleAssignments, getRoleOverlayRules, getRoleSharingPolicies, getRoleSharingPolicy, getRoles, getSecret, getSecrets, getServerConfig, getServerConfigs, getSupportedAuthorizationDetailsType, getSupportedAuthorizationDetailsTypes, getTokenPermissions, getUser, getUserGroups, getUserOverlayRules, getUserSharingPolicies, getUserSharingPolicy, getUserType, getUserTypes, getUserUsages, getUsers, getUsersByPath, getUsersMeMeta_default as getUsersMeMeta, getVariable, getVariables, getVerifiedAttributes, handlePasskeyAuthentication, handlePasskeyRegistration, handleWebAuthnAuthentication, hasAuthParamsInUrl, hasPermission, http, importConfiguration, initiateOAuthRedirect, isVerifiableAttribute, navigate, normalizeFlowResponse, parseKeyValuePairs, previewCimdDocument, regenerateAgentSecret, regenerateClientSecret, regenerateFlowSecret, registerClient, removeGroupMembers, removeRoleAssignments, resolveAdministrationFlowHandles, resolveAdministrationFlowId, resolveAdministrationFlows, resolveDesign, resolveTranslation, resolveTranslations, restoreFlowVersion, revertGatewayConfiguration, runAccountLifecycleAction, runAdministrationFlow, setTranslation, setTranslations, suspendAgent, suspendApplication, suspendUser, unlockAgent, unlockUser, unsuspendAgent, unsuspendApplication, unsuspendUser, updateAction, updateAgent, updateAgentType, updateApplication, updateApplicationSharingPolicy, updateAuthorizationDetailType, updateClientRegistration, updateConnection, updateCredentialConfiguration, updateDesignTheme, updateFlow, updateFlowSharingPolicy, updateFlowVariables, updateGateway, updateGatewaySecret, updateGatewayVariable, updateGroup, updateLayout, updateNotificationTemplate, updateOrganizationUnit, updateOrganizationUnitByPath, updatePresentationDefinition, updateProject, updateResource, updateResourceServer, updateRole, updateRoleSharingPolicy, updateSecret, updateServerConfig, updateUser, updateUserCredentials, updateUserSharingPolicy, updateUserType, updateVariable, useCurrentProjectState_default as useCurrentProjectState, useFetchAuthFlows_default as useFetchAuthFlows, useFetchUserTypes_default as useFetchUserTypes, useFetchUsers_default as useFetchUsers, useFlow_default as useFlow, useFlowMeta_default as useFlowMeta, useGrantedPermissions_default as useGrantedPermissions, useI18n_default as useI18n, useInfiniteOptions_default as useInfiniteOptions, useManagementEndpoint_default as useManagementEndpoint, useManagementRequestConfig_default as useManagementRequestConfig, useOAuthCallback, useTheme_default as useTheme, useThunderID_default as useThunderID, useUser_default as useUser, validateFieldValue };
|
|
22112
|
+
export { ADMINISTRATION_FLOW_TYPE, AcceptInvite_default as AcceptInvite, AccountLifecycleFlowConfigKey, AdministrationFlowConfigKey, AdministrationFlowData, AdministrationFlowError, AdministrationFlowInput, AdministrationModes, AgentCreate_default as AgentCreate, AgentDetails_default as AgentDetails, AgentList_default as AgentList, AgentQueryKeys, Alert_default as Alert, ApplicationCreate_default as ApplicationCreate, ApplicationDetails_default as ApplicationDetails, ApplicationList_default as ApplicationList, ApplicationQueryKeys, ArrowLeftRightIcon, AttributeVerificationConstants, Attribution_default as Attribution, AuthFlowSelect_default as AuthFlowSelect, BaseAcceptInvite_default as BaseAcceptInvite, BaseAgentCreate_default as BaseAgentCreate, BaseAgentDetails_default as BaseAgentDetails, BaseAgentList_default as BaseAgentList, BaseApplicationCreate_default as BaseApplicationCreate, BaseApplicationDetails_default as BaseApplicationDetails, BaseApplicationList_default as BaseApplicationList, BaseAuthFlowSelect_default as BaseAuthFlowSelect, BaseChangeCredential_default as BaseChangeCredential, BaseDeviceGrant_default as BaseDeviceGrant, BaseGroupCreate_default as BaseGroupCreate, BaseGroupDetails_default as BaseGroupDetails, BaseGroupList_default as BaseGroupList, BaseGroupMembers_default as BaseGroupMembers, BaseInviteUser_default as BaseInviteUser, BaseLanguageSwitcher_default as BaseLanguageSwitcher, BaseOrganizationUnitCreate_default as BaseOrganizationUnitCreate, BaseOrganizationUnitDetails_default as BaseOrganizationUnitDetails, BaseOrganizationUnitList_default as BaseOrganizationUnitList, BaseOrganizationUnitSwitcher_default as BaseOrganizationUnitSwitcher, BaseProjectCreate_default as BaseProjectCreate, BaseProjectDetails_default as BaseProjectDetails, BaseProjectList_default as BaseProjectList, BaseProjectSwitcher_default as BaseProjectSwitcher, BaseRoleAssignments_default as BaseRoleAssignments, BaseRoleCreate_default as BaseRoleCreate, BaseRoleDetails_default as BaseRoleDetails, BaseRoleList_default as BaseRoleList, BaseRolePermissions_default as BaseRolePermissions, BaseSharingPolicies_default as BaseSharingPolicies, BaseSignIn_default as BaseSignIn, BaseSignInButton_default as BaseSignInButton, BaseSignOutButton_default as BaseSignOutButton, BaseSignUp_default as BaseSignUp, BaseSignUpButton_default as BaseSignUpButton, BaseUserCreate_default as BaseUserCreate, BaseUserDetails_default as BaseUserDetails, BaseUserDropdown_default as BaseUserDropdown, BaseUserList_default as BaseUserList, BaseUserProfile_default as BaseUserProfile, BaseUserSelect_default as BaseUserSelect, BaseUserTypeSelect_default as BaseUserTypeSelect, BaseVerifyAttribute_default as BaseVerifyAttribute, BuildingIcon, Button_default as Button, Callback_default as Callback, Card_default as Card, ChangeCredential_default as ChangeCredential, CheckIcon, Checkbox_default as Checkbox, ChevronDownIcon, CircleAlertIcon, CircleCheckIcon, Consent_default as Consent, CopyableText_default as CopyableText, DEFAULT_USER_CREATE_FIELDS, DataTable_default as DataTable, DatePicker_default as DatePicker, DeviceGrant_default as DeviceGrant, Divider_default as Divider, EmbeddedFlowActionVariant, EmbeddedFlowComponentType, EmbeddedFlowEventType, EmbeddedFlowTextVariant, EmbeddedSelfFlowStatus, EmbeddedSignInFlowStatus, EmbeddedSignInFlowType, EmbeddedSignUpFlowStatus, EmbeddedSignUpFlowType, EyeIcon, EyeOffIcon, FLOW_KEY, FLOW_META_KEY, FacebookButton_default as FacebookButton, FieldFactory_default as FieldFactory, FieldType, FlowExpired_default as FlowExpired, FlowMetaProvider_default as FlowMetaProvider, FlowProvider_default as FlowProvider, GitHubButton_default as GitHubButton, GlobeIcon, GoogleButton_default as GoogleButton, GroupCreate_default as GroupCreate, GroupDetails_default as GroupDetails, GroupList_default as GroupList, GroupMembers_default as GroupMembers, GroupQueryKeys, I18N_KEY, I18nProvider_default as I18nProvider, InfoIcon, InviteUser_default as InviteUser, KeyValueList_default as KeyValueList, LanguageSwitcher_default as LanguageSwitcher, Loading_default as Loading, LogOutIcon, Logo_default as Logo, MicrosoftButton_default as MicrosoftButton, OrganizationUnitCreate_default as OrganizationUnitCreate, OrganizationUnitDetails_default as OrganizationUnitDetails, OrganizationUnitList_default as OrganizationUnitList, OrganizationUnitSwitchErrorCodes, OrganizationUnitSwitcher_default as OrganizationUnitSwitcher, OtpField_default as OtpField, PasswordField_default as PasswordField, PencilIcon, PlusIcon, ProjectCreate_default as ProjectCreate, ProjectDetails_default as ProjectDetails, ProjectList_default as ProjectList, ProjectSwitcher_default as ProjectSwitcher, RoleAssignments_default as RoleAssignments, RoleCreate_default as RoleCreate, RoleDetails_default as RoleDetails, RoleList_default as RoleList, RolePermissions_default as RolePermissions, RoleQueryKeys, Select_default as Select, SharingPolicies_default as SharingPolicies, SignIn_default as SignIn, SignInButton_default as SignInButton, SignOutButton_default as SignOutButton, SignUp_default as SignUp, SignUpButton_default as SignUpButton, SignedIn_default as SignedIn, SignedOut_default as SignedOut, Spinner_default as Spinner, THEME_KEY, THUNDERID_KEY, TextField_default as TextField, ThemeProvider_default as ThemeProvider, ThunderIDAPIError, ThunderIDPlugin_default as ThunderIDPlugin, ThunderIDProvider_default as ThunderIDProvider, ThunderIDRuntimeError, ThunderIDVueClient_default as ThunderIDVueClient, TriangleAlertIcon, Typography_default as Typography, USER_KEY, User_default as User, UserCreate_default as UserCreate, UserDetails_default as UserDetails, UserDropdown_default as UserDropdown, UserIcon, UserList_default as UserList, UserProfile_default as UserProfile, UserProvider_default as UserProvider, UserQueryKeys, UserSelect_default as UserSelect, UserTypeSelect_default as UserTypeSelect, VerifyAttribute_default as VerifyAttribute, XIcon, addGroupMembers, addRoleAssignments, applyGatewayConfiguration, buildThemeConfigFromFlowMeta_default as buildThemeConfigFromFlowMeta, createAction, createAgent, createAgentType, createApplication, createApplicationSharingPolicy, createAuthorizationDetailType, createCallbackRoute, createClassObserver, createConfigurationVersion, createConnection, createCredentialConfiguration, createDesignTheme, createField, createFlow, createFlowSharingPolicy, createGateway, createGatewaySecret, createGatewayVariable, createGroup, createGroupByPath, createLayout, createMediaQueryListener, createNotificationTemplate, createOrganizationUnit, createPresentationDefinition, createProject, createResource, createResourceInvalidator, createResourceServer, createRole, createRoleSharingPolicy, createSecret, createThunderIDGuard, createUser, createUserByPath, createUserSharingPolicy, createUserType, createVariable, deleteAction, deleteAgent, deleteAgentType, deleteApplication, deleteApplicationSharingPolicy, deleteAuthorizationDetailType, deleteClientRegistration, deleteConnection, deleteCredentialConfiguration, deleteDesignTheme, deleteFlow, deleteFlowSharingPolicy, deleteGateway, deleteGatewaySecret, deleteGatewayVariable, deleteGroup, deleteImportedConfiguration, deleteLayout, deleteNotificationTemplate, deleteOrganizationUnit, deleteOrganizationUnitByPath, deletePresentationDefinition, deleteProject, deleteResource, deleteResourceServer, deleteRole, deleteRoleSharingPolicy, deleteSecret, deleteTranslation, deleteTranslations, deleteUser, deleteUserSharingPolicy, deleteUserType, deleteVariable, detectThemeMode, executeAdministrationFlow, executeEmbeddedSelfFlow_default as executeEmbeddedSelfFlow, exportConfiguration, extractErrorMessage, findAdministrationFlows, getAccessibleOrganizationUnits_default as getAccessibleOrganizationUnits, getAccountLifecycleActions, getAction, getActions, getActiveTheme, getAgent, getAgentGroups, getAgentName, getAgentRoles, getAgentType, getAgentTypes, getAgents, getApplication, getApplicationOverlayRules, getApplicationSharingPolicies, getApplicationSharingPolicy, getApplications, getAuthComponentHeadings_default as getAuthComponentHeadings, getAuthorizationDetailType, getAuthorizationDetailTypes, getClientRegistration, getConfigurationVersion, getConfigurationVersions, getConnection, getConnectionUsages, getConnections, getConnectionsMeta, getCredentialConfiguration, getCredentialConfigurations, getDesignTheme, getDesignThemeUsages, getDesignThemes, getFlow, getFlowOverlayRules, getFlowSharingPolicies, getFlowSharingPolicy, getFlowUsages, getFlowVariables, getFlowVersion, getFlowVersions, getFlows, getGateway, getGatewayAppliedConfiguration, getGatewayAppliedVersion, getGatewayConfigurationDiff, getGatewayMaster, getGatewayMasterHistory, getGatewayMasterResource, getGatewaySecret, getGatewaySecrets, getGatewayVariable, getGatewayVariables, getGateways, getGroup, getGroupMembers, getGroups, getGroupsByPath, getLanguages, getLayout, getLayoutUsages, getLayouts, getNotificationTemplate, getNotificationTemplates, getOrganizationUnit, getOrganizationUnitByPath, getOrganizationUnitChildren, getOrganizationUnitGroups, getOrganizationUnitRoles, getOrganizationUnitUsers, getOrganizationUnits, getPresentationDefinition, getPresentationDefinitions, getProject, getProjects, getResource, getResourceServer, getResourceServerPermissions, getResourceServers, getResources, getRole, getRoleAssignments, getRoleOverlayRules, getRoleSharingPolicies, getRoleSharingPolicy, getRoles, getSecret, getSecrets, getServerConfig, getServerConfigs, getSupportedAuthorizationDetailsType, getSupportedAuthorizationDetailsTypes, getTokenPermissions, getUser, getUserGroups, getUserOverlayRules, getUserSharingPolicies, getUserSharingPolicy, getUserType, getUserTypes, getUserUsages, getUsers, getUsersByPath, getUsersMeMeta_default as getUsersMeMeta, getVariable, getVariables, getVerifiedAttributes, handlePasskeyAuthentication, handlePasskeyRegistration, handleWebAuthnAuthentication, hasAuthParamsInUrl, hasPermission, http, importConfiguration, initiateOAuthRedirect, isVerifiableAttribute, navigate, normalizeFlowResponse, parseKeyValuePairs, previewCimdDocument, regenerateAgentSecret, regenerateClientSecret, regenerateFlowSecret, registerClient, removeGroupMembers, removeRoleAssignments, resolveAdministrationFlowHandles, resolveAdministrationFlowId, resolveAdministrationFlows, resolveDesign, resolveTranslation, resolveTranslations, restoreFlowVersion, revertGatewayConfiguration, runAccountLifecycleAction, runAdministrationFlow, setTranslation, setTranslations, suspendAgent, suspendApplication, suspendUser, unlockAgent, unlockUser, unsuspendAgent, unsuspendApplication, unsuspendUser, updateAction, updateAgent, updateAgentType, updateApplication, updateApplicationSharingPolicy, updateAuthorizationDetailType, updateClientRegistration, updateConnection, updateCredentialConfiguration, updateDesignTheme, updateFlow, updateFlowSharingPolicy, updateFlowVariables, updateGateway, updateGatewaySecret, updateGatewayVariable, updateGroup, updateLayout, updateNotificationTemplate, updateOrganizationUnit, updateOrganizationUnitByPath, updatePresentationDefinition, updateProject, updateResource, updateResourceServer, updateRole, updateRoleSharingPolicy, updateSecret, updateServerConfig, updateUser, updateUserCredentials, updateUserSharingPolicy, updateUserType, updateVariable, useCurrentProjectState_default as useCurrentProjectState, useFetchAuthFlows_default as useFetchAuthFlows, useFetchUserTypes_default as useFetchUserTypes, useFetchUsers_default as useFetchUsers, useFlow_default as useFlow, useFlowExpiryHandling_default as useFlowExpiryHandling, useFlowMeta_default as useFlowMeta, useGrantedPermissions_default as useGrantedPermissions, useI18n_default as useI18n, useInfiniteOptions_default as useInfiniteOptions, useManagementEndpoint_default as useManagementEndpoint, useManagementRequestConfig_default as useManagementRequestConfig, useOAuthCallback, useTheme_default as useTheme, useThunderID_default as useThunderID, useUser_default as useUser, validateFieldValue };
|