@burdenoff/microfe-auth 2026.519.1 → 2026.520.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/auth/hooks/useContextSwitcherData.d.ts.map +1 -1
- package/dist/auth/hooks/useContextSwitcherData.js +25 -22
- package/dist/auth/hooks/useContextSwitcherData.js.map +1 -1
- package/dist/auth/hooks/usePasswordOperations.d.ts.map +1 -1
- package/dist/auth/hooks/usePasswordOperations.js +11 -4
- package/dist/auth/hooks/usePasswordOperations.js.map +1 -1
- package/dist/auth/hooks/useSessionOperations.d.ts +12 -1
- package/dist/auth/hooks/useSessionOperations.d.ts.map +1 -1
- package/dist/auth/hooks/useSessionOperations.js +62 -46
- package/dist/auth/hooks/useSessionOperations.js.map +1 -1
- package/dist/auth/pages/PasswordResetPage.d.ts.map +1 -1
- package/dist/auth/pages/PasswordResetPage.js +2 -1
- package/dist/auth/pages/PasswordResetPage.js.map +1 -1
- package/dist/auth/pages/SessionsPage.d.ts +2 -5
- package/dist/auth/pages/SessionsPage.d.ts.map +1 -1
- package/dist/auth/pages/SessionsPage.js +175 -152
- package/dist/auth/pages/SessionsPage.js.map +1 -1
- package/dist/generated/global-operations.d.ts +2 -1
- package/dist/generated/global-operations.d.ts.map +1 -1
- package/dist/generated/global-operations.js +55 -80
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/microfe-auth.css +1 -1
- package/dist/translations/en.d.ts +5 -0
- package/dist/translations/en.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -10,8 +10,7 @@ var n = {}, r = t`
|
|
|
10
10
|
userAgent
|
|
11
11
|
createdAt
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
t`
|
|
13
|
+
`, i = t`
|
|
15
14
|
fragment SessionCard_Session on Session {
|
|
16
15
|
id
|
|
17
16
|
status
|
|
@@ -23,8 +22,7 @@ t`
|
|
|
23
22
|
createdAt
|
|
24
23
|
isCurrent
|
|
25
24
|
}
|
|
26
|
-
|
|
27
|
-
var i = t`
|
|
25
|
+
`, a = t`
|
|
28
26
|
fragment UserRow_User on User {
|
|
29
27
|
id
|
|
30
28
|
email
|
|
@@ -41,21 +39,21 @@ var i = t`
|
|
|
41
39
|
createdAt
|
|
42
40
|
updatedAt
|
|
43
41
|
}
|
|
44
|
-
`,
|
|
42
|
+
`, o = t`
|
|
45
43
|
mutation DeactivateAccount($password: String!) {
|
|
46
44
|
deactivateAccount(password: $password) {
|
|
47
45
|
success
|
|
48
46
|
message
|
|
49
47
|
}
|
|
50
48
|
}
|
|
51
|
-
`,
|
|
49
|
+
`, s = t`
|
|
52
50
|
mutation DeleteAccount($password: String!, $confirmPhrase: String!) {
|
|
53
51
|
deleteAccount(password: $password, confirmPhrase: $confirmPhrase) {
|
|
54
52
|
success
|
|
55
53
|
message
|
|
56
54
|
}
|
|
57
55
|
}
|
|
58
|
-
`,
|
|
56
|
+
`, c = t`
|
|
59
57
|
mutation ReactivateAccount($email: String!, $password: String!) {
|
|
60
58
|
reactivateAccount(email: $email, password: $password) {
|
|
61
59
|
success
|
|
@@ -229,7 +227,7 @@ t`
|
|
|
229
227
|
revokeDelegation(id: $id, reason: $reason)
|
|
230
228
|
}
|
|
231
229
|
`;
|
|
232
|
-
var
|
|
230
|
+
var l = t`
|
|
233
231
|
mutation SignIn($input: SignInInput!) {
|
|
234
232
|
signIn(input: $input) {
|
|
235
233
|
accessToken
|
|
@@ -254,7 +252,7 @@ var c = t`
|
|
|
254
252
|
mfaMethod
|
|
255
253
|
}
|
|
256
254
|
}
|
|
257
|
-
`,
|
|
255
|
+
`, u = t`
|
|
258
256
|
mutation SignUp($input: SignUpInput!) {
|
|
259
257
|
signUp(input: $input) {
|
|
260
258
|
accessToken
|
|
@@ -275,7 +273,7 @@ var c = t`
|
|
|
275
273
|
expiresIn
|
|
276
274
|
}
|
|
277
275
|
}
|
|
278
|
-
`,
|
|
276
|
+
`, d = t`
|
|
279
277
|
mutation RefreshToken($token: String!) {
|
|
280
278
|
refreshToken(token: $token) {
|
|
281
279
|
accessToken
|
|
@@ -293,18 +291,18 @@ var c = t`
|
|
|
293
291
|
expiresIn
|
|
294
292
|
}
|
|
295
293
|
}
|
|
296
|
-
`,
|
|
294
|
+
`, f = t`
|
|
297
295
|
mutation SignOut {
|
|
298
296
|
signOut
|
|
299
297
|
}
|
|
300
|
-
`,
|
|
298
|
+
`, p = t`
|
|
301
299
|
mutation ResendVerificationEmail($email: String!) {
|
|
302
300
|
resendVerificationEmail(email: $email) {
|
|
303
301
|
success
|
|
304
302
|
message
|
|
305
303
|
}
|
|
306
304
|
}
|
|
307
|
-
`,
|
|
305
|
+
`, m = t`
|
|
308
306
|
mutation SendMagicLink($email: String!, $context: AuthContext) {
|
|
309
307
|
sendMagicLink(email: $email, context: $context) {
|
|
310
308
|
success
|
|
@@ -312,7 +310,7 @@ var c = t`
|
|
|
312
310
|
expiresIn
|
|
313
311
|
}
|
|
314
312
|
}
|
|
315
|
-
`,
|
|
313
|
+
`, h = t`
|
|
316
314
|
mutation AuthenticateMagicLink($token: String!) {
|
|
317
315
|
authenticateMagicLink(token: $token) {
|
|
318
316
|
success
|
|
@@ -344,7 +342,7 @@ var c = t`
|
|
|
344
342
|
metadata
|
|
345
343
|
}
|
|
346
344
|
}
|
|
347
|
-
`,
|
|
345
|
+
`, g = t`
|
|
348
346
|
mutation SetupMFA($method: MFAMethod!) {
|
|
349
347
|
setupMFA(method: $method) {
|
|
350
348
|
secret
|
|
@@ -353,11 +351,11 @@ var c = t`
|
|
|
353
351
|
method
|
|
354
352
|
}
|
|
355
353
|
}
|
|
356
|
-
`,
|
|
354
|
+
`, _ = t`
|
|
357
355
|
mutation EnableMFA($code: String!) {
|
|
358
356
|
enableMFA(code: $code)
|
|
359
357
|
}
|
|
360
|
-
`,
|
|
358
|
+
`, v = t`
|
|
361
359
|
mutation VerifyMFA($input: MFAVerifyInput!) {
|
|
362
360
|
verifyMFA(input: $input) {
|
|
363
361
|
success
|
|
@@ -389,11 +387,11 @@ var c = t`
|
|
|
389
387
|
metadata
|
|
390
388
|
}
|
|
391
389
|
}
|
|
392
|
-
`,
|
|
390
|
+
`, y = t`
|
|
393
391
|
mutation DisableMFA {
|
|
394
392
|
disableMFA
|
|
395
393
|
}
|
|
396
|
-
`,
|
|
394
|
+
`, b = t`
|
|
397
395
|
mutation AuthenticateOAuth($input: OAuthInput!) {
|
|
398
396
|
authenticateOAuth(input: $input) {
|
|
399
397
|
success
|
|
@@ -419,22 +417,22 @@ var c = t`
|
|
|
419
417
|
metadata
|
|
420
418
|
}
|
|
421
419
|
}
|
|
422
|
-
`,
|
|
420
|
+
`, x = t`
|
|
423
421
|
mutation ChangePassword($input: ChangePasswordInput!) {
|
|
424
422
|
changePassword(input: $input)
|
|
425
423
|
}
|
|
426
|
-
`,
|
|
424
|
+
`, S = t`
|
|
427
425
|
mutation RequestPasswordReset($email: String!, $recaptchaToken: String) {
|
|
428
426
|
requestPasswordReset(email: $email, recaptchaToken: $recaptchaToken) {
|
|
429
427
|
success
|
|
430
428
|
message
|
|
431
429
|
}
|
|
432
430
|
}
|
|
433
|
-
`,
|
|
431
|
+
`, C = t`
|
|
434
432
|
mutation ResetPassword($token: String!, $newPassword: String!) {
|
|
435
433
|
resetPassword(token: $token, newPassword: $newPassword)
|
|
436
434
|
}
|
|
437
|
-
`,
|
|
435
|
+
`, w = t`
|
|
438
436
|
mutation VerifyEmail($token: String!) {
|
|
439
437
|
verifyEmail(token: $token) {
|
|
440
438
|
success
|
|
@@ -451,18 +449,18 @@ t`
|
|
|
451
449
|
disableAuthMethod(authType: $authType)
|
|
452
450
|
}
|
|
453
451
|
`;
|
|
454
|
-
var
|
|
452
|
+
var T = t`
|
|
455
453
|
mutation RevokeSession($sessionId: ID!) {
|
|
456
454
|
revokeSession(sessionId: $sessionId)
|
|
457
455
|
}
|
|
458
|
-
`,
|
|
456
|
+
`, E = t`
|
|
459
457
|
mutation RevokeAllSessions {
|
|
460
458
|
revokeAllSessions {
|
|
461
459
|
success
|
|
462
460
|
revokedCount
|
|
463
461
|
}
|
|
464
462
|
}
|
|
465
|
-
`,
|
|
463
|
+
`, D = t`
|
|
466
464
|
mutation AuthenticateSAML($input: SAMLInput!) {
|
|
467
465
|
authenticateSAML(input: $input) {
|
|
468
466
|
success
|
|
@@ -488,7 +486,7 @@ var w = t`
|
|
|
488
486
|
metadata
|
|
489
487
|
}
|
|
490
488
|
}
|
|
491
|
-
`,
|
|
489
|
+
`, O = t`
|
|
492
490
|
mutation GenerateSAMLRequest($tenantId: String!, $relayState: String) {
|
|
493
491
|
generateSAMLRequest(tenantId: $tenantId, relayState: $relayState) {
|
|
494
492
|
requestId
|
|
@@ -496,7 +494,7 @@ var w = t`
|
|
|
496
494
|
samlRequest
|
|
497
495
|
}
|
|
498
496
|
}
|
|
499
|
-
`,
|
|
497
|
+
`, k = t`
|
|
500
498
|
mutation SaveSSOConfig($tenantId: String!, $input: SSOConfigInput!) {
|
|
501
499
|
saveSSOConfig(tenantId: $tenantId, input: $input) {
|
|
502
500
|
id
|
|
@@ -510,11 +508,11 @@ var w = t`
|
|
|
510
508
|
updatedAt
|
|
511
509
|
}
|
|
512
510
|
}
|
|
513
|
-
`,
|
|
511
|
+
`, A = t`
|
|
514
512
|
mutation DeleteSSOConfig($tenantId: String!) {
|
|
515
513
|
deleteSSOConfig(tenantId: $tenantId)
|
|
516
514
|
}
|
|
517
|
-
`,
|
|
515
|
+
`, j = t`
|
|
518
516
|
mutation GenerateOIDCAuthUrl($tenantId: String!, $state: String) {
|
|
519
517
|
generateOIDCAuthUrl(tenantId: $tenantId, state: $state) {
|
|
520
518
|
authUrl
|
|
@@ -524,7 +522,7 @@ var w = t`
|
|
|
524
522
|
relayState
|
|
525
523
|
}
|
|
526
524
|
}
|
|
527
|
-
`,
|
|
525
|
+
`, M = t`
|
|
528
526
|
mutation AuthenticateOIDC($input: OIDCCallbackInput!) {
|
|
529
527
|
authenticateOIDC(input: $input) {
|
|
530
528
|
accessToken
|
|
@@ -544,7 +542,7 @@ var w = t`
|
|
|
544
542
|
}
|
|
545
543
|
}
|
|
546
544
|
}
|
|
547
|
-
`,
|
|
545
|
+
`, N = t`
|
|
548
546
|
mutation ValidateTokens($input: ValidateTokensInput!) {
|
|
549
547
|
validateTokens(input: $input) {
|
|
550
548
|
valid
|
|
@@ -562,7 +560,7 @@ var w = t`
|
|
|
562
560
|
}
|
|
563
561
|
}
|
|
564
562
|
}
|
|
565
|
-
`,
|
|
563
|
+
`, P = t`
|
|
566
564
|
mutation UpdateCurrentUserProfile($input: UpdateUserInput!) {
|
|
567
565
|
updateCurrentUserProfile(input: $input) {
|
|
568
566
|
id
|
|
@@ -576,7 +574,7 @@ var w = t`
|
|
|
576
574
|
updatedAt
|
|
577
575
|
}
|
|
578
576
|
}
|
|
579
|
-
`,
|
|
577
|
+
`, F = t`
|
|
580
578
|
mutation UpdateUser($id: ID!, $input: AdminUpdateUserInput!) {
|
|
581
579
|
updateUser(id: $id, input: $input) {
|
|
582
580
|
id
|
|
@@ -592,21 +590,21 @@ var w = t`
|
|
|
592
590
|
updatedAt
|
|
593
591
|
}
|
|
594
592
|
}
|
|
595
|
-
`,
|
|
593
|
+
`, I = t`
|
|
596
594
|
mutation DeleteUser($id: ID!) {
|
|
597
595
|
deleteUser(id: $id) {
|
|
598
596
|
success
|
|
599
597
|
message
|
|
600
598
|
}
|
|
601
599
|
}
|
|
602
|
-
`,
|
|
600
|
+
`, L = t`
|
|
603
601
|
mutation HardDeleteUser($id: ID!) {
|
|
604
602
|
hardDeleteUser(id: $id) {
|
|
605
603
|
success
|
|
606
604
|
message
|
|
607
605
|
}
|
|
608
606
|
}
|
|
609
|
-
`,
|
|
607
|
+
`, R = t`
|
|
610
608
|
mutation CreateWorkspace($input: CreateWorkspaceInput!) {
|
|
611
609
|
createWorkspace(input: $input) {
|
|
612
610
|
id
|
|
@@ -618,7 +616,7 @@ var w = t`
|
|
|
618
616
|
updatedAt
|
|
619
617
|
}
|
|
620
618
|
}
|
|
621
|
-
`,
|
|
619
|
+
`, z = t`
|
|
622
620
|
mutation UpdateWorkspace($id: ID!, $input: UpdateWorkspaceInput!) {
|
|
623
621
|
updateWorkspace(id: $id, input: $input) {
|
|
624
622
|
id
|
|
@@ -630,7 +628,7 @@ var w = t`
|
|
|
630
628
|
updatedAt
|
|
631
629
|
}
|
|
632
630
|
}
|
|
633
|
-
`,
|
|
631
|
+
`, B = t`
|
|
634
632
|
mutation AddWorkspaceMember($input: AddWorkspaceMemberInput!) {
|
|
635
633
|
addWorkspaceMember(input: $input) {
|
|
636
634
|
id
|
|
@@ -641,7 +639,7 @@ var w = t`
|
|
|
641
639
|
invitedBy
|
|
642
640
|
}
|
|
643
641
|
}
|
|
644
|
-
`,
|
|
642
|
+
`, V = t`
|
|
645
643
|
mutation UpdateWorkspaceMember($workspaceId: String!, $userId: String!, $input: UpdateWorkspaceMemberInput!) {
|
|
646
644
|
updateWorkspaceMember(workspaceId: $workspaceId, userId: $userId, input: $input) {
|
|
647
645
|
id
|
|
@@ -652,7 +650,7 @@ var w = t`
|
|
|
652
650
|
invitedBy
|
|
653
651
|
}
|
|
654
652
|
}
|
|
655
|
-
`,
|
|
653
|
+
`, H = t`
|
|
656
654
|
mutation RemoveWorkspaceMember($workspaceId: String!, $userId: String!) {
|
|
657
655
|
removeWorkspaceMember(workspaceId: $workspaceId, userId: $userId)
|
|
658
656
|
}
|
|
@@ -753,11 +751,10 @@ t`
|
|
|
753
751
|
}
|
|
754
752
|
}
|
|
755
753
|
`;
|
|
756
|
-
var
|
|
754
|
+
var U = t`
|
|
757
755
|
query AuthAuditLogs($pagination: PaginationInput) {
|
|
758
756
|
authAuditLogs(pagination: $pagination) {
|
|
759
757
|
auditLogs {
|
|
760
|
-
id
|
|
761
758
|
...AuditLogEntry_AuthAuditLog
|
|
762
759
|
}
|
|
763
760
|
totalCount
|
|
@@ -765,14 +762,14 @@ var H = t`
|
|
|
765
762
|
}
|
|
766
763
|
}
|
|
767
764
|
${r}`;
|
|
768
|
-
function
|
|
765
|
+
function W(t) {
|
|
769
766
|
let r = {
|
|
770
767
|
...n,
|
|
771
768
|
...t
|
|
772
769
|
};
|
|
773
|
-
return e.useQuery(
|
|
770
|
+
return e.useQuery(U, r);
|
|
774
771
|
}
|
|
775
|
-
var
|
|
772
|
+
var G = t`
|
|
776
773
|
query CurrentUser {
|
|
777
774
|
currentUser {
|
|
778
775
|
id
|
|
@@ -872,25 +869,17 @@ t`
|
|
|
872
869
|
}
|
|
873
870
|
}
|
|
874
871
|
`;
|
|
875
|
-
var
|
|
876
|
-
query ActiveSessions {
|
|
877
|
-
activeSessions {
|
|
872
|
+
var K = t`
|
|
873
|
+
query ActiveSessions($pagination: PaginationInput) {
|
|
874
|
+
activeSessions(pagination: $pagination) {
|
|
878
875
|
sessions {
|
|
879
|
-
|
|
880
|
-
status
|
|
881
|
-
ipAddress
|
|
882
|
-
userAgent
|
|
883
|
-
location
|
|
884
|
-
lastActivityAt
|
|
885
|
-
expiresAt
|
|
886
|
-
createdAt
|
|
887
|
-
isCurrent
|
|
876
|
+
...SessionCard_Session
|
|
888
877
|
}
|
|
889
878
|
hasMore
|
|
890
879
|
totalCount
|
|
891
880
|
}
|
|
892
881
|
}
|
|
893
|
-
`,
|
|
882
|
+
${i}`, q = t`
|
|
894
883
|
query GetSSOConfig($tenantId: String!) {
|
|
895
884
|
getSSOConfig(tenantId: $tenantId) {
|
|
896
885
|
id
|
|
@@ -904,7 +893,7 @@ var G = t`
|
|
|
904
893
|
updatedAt
|
|
905
894
|
}
|
|
906
895
|
}
|
|
907
|
-
`,
|
|
896
|
+
`, J = t`
|
|
908
897
|
query GetOIDCConfig {
|
|
909
898
|
getOIDCConfig {
|
|
910
899
|
issuer
|
|
@@ -918,7 +907,7 @@ var G = t`
|
|
|
918
907
|
grantTypesSupported
|
|
919
908
|
}
|
|
920
909
|
}
|
|
921
|
-
`,
|
|
910
|
+
`, Y = t`
|
|
922
911
|
query TokenInfo {
|
|
923
912
|
tokenInfo {
|
|
924
913
|
valid
|
|
@@ -936,37 +925,23 @@ var G = t`
|
|
|
936
925
|
}
|
|
937
926
|
}
|
|
938
927
|
}
|
|
939
|
-
`,
|
|
928
|
+
`, X = t`
|
|
940
929
|
query GetUser($id: ID!) {
|
|
941
930
|
user(id: $id) {
|
|
942
|
-
|
|
943
|
-
email
|
|
944
|
-
username
|
|
945
|
-
firstName
|
|
946
|
-
lastName
|
|
947
|
-
name
|
|
948
|
-
phoneNumber
|
|
949
|
-
role
|
|
950
|
-
status
|
|
951
|
-
emailVerified
|
|
952
|
-
mfaEnabled
|
|
953
|
-
lastLoginAt
|
|
954
|
-
createdAt
|
|
955
|
-
updatedAt
|
|
931
|
+
...UserRow_User
|
|
956
932
|
}
|
|
957
933
|
}
|
|
958
|
-
`,
|
|
934
|
+
${a}`, Z = t`
|
|
959
935
|
query ListUsers($filter: UserFilterInput, $pagination: PaginationInput) {
|
|
960
936
|
users(filter: $filter, pagination: $pagination) {
|
|
961
937
|
users {
|
|
962
|
-
id
|
|
963
938
|
...UserRow_User
|
|
964
939
|
}
|
|
965
940
|
totalCount
|
|
966
941
|
hasMore
|
|
967
942
|
}
|
|
968
943
|
}
|
|
969
|
-
${
|
|
944
|
+
${a}`, Q = t`
|
|
970
945
|
query MyWorkspaces {
|
|
971
946
|
myWorkspaces {
|
|
972
947
|
total
|
|
@@ -1011,6 +986,6 @@ t`
|
|
|
1011
986
|
}
|
|
1012
987
|
`;
|
|
1013
988
|
//#endregion
|
|
1014
|
-
export {
|
|
989
|
+
export { K as ActiveSessionsDocument, B as AddWorkspaceMemberDocument, h as AuthenticateMagicLinkDocument, b as AuthenticateOAuthDocument, M as AuthenticateOidcDocument, D as AuthenticateSamlDocument, x as ChangePasswordDocument, R as CreateWorkspaceDocument, G as CurrentUserDocument, o as DeactivateAccountDocument, s as DeleteAccountDocument, A as DeleteSsoConfigDocument, I as DeleteUserDocument, y as DisableMfaDocument, _ as EnableMfaDocument, j as GenerateOidcAuthUrlDocument, O as GenerateSamlRequestDocument, J as GetOidcConfigDocument, q as GetSsoConfigDocument, X as GetUserDocument, L as HardDeleteUserDocument, Z as ListUsersDocument, Q as MyWorkspacesDocument, c as ReactivateAccountDocument, d as RefreshTokenDocument, H as RemoveWorkspaceMemberDocument, S as RequestPasswordResetDocument, p as ResendVerificationEmailDocument, C as ResetPasswordDocument, E as RevokeAllSessionsDocument, T as RevokeSessionDocument, k as SaveSsoConfigDocument, m as SendMagicLinkDocument, g as SetupMfaDocument, l as SignInDocument, f as SignOutDocument, u as SignUpDocument, Y as TokenInfoDocument, P as UpdateCurrentUserProfileDocument, F as UpdateUserDocument, z as UpdateWorkspaceDocument, V as UpdateWorkspaceMemberDocument, N as ValidateTokensDocument, w as VerifyEmailDocument, v as VerifyMfaDocument, W as useAuthAuditLogsQuery };
|
|
1015
990
|
|
|
1016
991
|
//# sourceMappingURL=global-operations.js.map
|