techne-sdk 0.4.0 → 0.5.0
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/CHANGELOG.md +38 -0
- package/dist/catalog/catalog.gen.js +375 -121
- package/dist/generated/lexicons.d.ts +408 -126
- package/dist/generated/lexicons.js +225 -61
- package/dist/generated/nsid.d.ts +2 -0
- package/dist/generated/nsid.js +2 -0
- package/dist/generated/nsid.json +2 -0
- package/dist/generated/types/pub/techne/draft/identity/attest.d.ts +2 -0
- package/dist/generated/types/pub/techne/draft/identity/defs.d.ts +23 -7
- package/dist/generated/types/pub/techne/draft/identity/defs.js +7 -0
- package/dist/generated/types/pub/techne/draft/identity/finishAddMethod.d.ts +3 -0
- package/dist/generated/types/pub/techne/draft/identity/listMethods.d.ts +2 -1
- package/dist/generated/types/pub/techne/draft/identity/manageMethods.d.ts +52 -10
- package/dist/generated/types/pub/techne/draft/identity/manageMethods.js +56 -0
- package/dist/generated/types/pub/techne/draft/query/getRecords.d.ts +11 -0
- package/dist/generated/types/pub/techne/draft/query/getRecords.js +7 -0
- package/dist/query/compose.d.ts +1 -1
- package/dist/query/compose.js +1 -1
- package/dist/query/index.d.ts +7 -0
- package/dist/query/index.js +28 -1
- package/dist/versions/react.js +19 -6
- package/dist/wasm/techne-wasm.gen.js +1 -1
- package/dist/wasm/techne-wasm2js.gen.js +12450 -12450
- package/package.json +1 -1
|
@@ -1154,7 +1154,7 @@ export const schemaDict = {
|
|
|
1154
1154
|
PubTechneDraftAppAccess: {
|
|
1155
1155
|
lexicon: 1,
|
|
1156
1156
|
id: 'pub.techne.draft.appAccess',
|
|
1157
|
-
description: "A space's authority lets one app (an OAuth client) read one space: our published form of atproto 0016's simplespace `appAccess`. 0016 ANDs two axes for a read: the reader passes the space's read policy, and the app has appAccess for the space. Authored by the space's AUTHORITY, in its own repo, placed IN the space it names (as a `share` is), so the space's readers see which apps may read it. Approved by whoever passes the space type's published `manage` leg (the owner of a personal space; Facilitator and up for a collective's), written with the authority's pen. Approval is per space. `criteria` is a stated rule for future spaces, stored and shown in social.scenius.listAppAccess; nothing evaluates it yet: future-space coverage is evaluated when `space:` grant enforcement exists. Deleting it withdraws the approval for future reads. Nothing stores a denial. Enforcement arrives with `space:` OAuth grants: before Spaces a proxied read carries no client identity.",
|
|
1157
|
+
description: "A space's authority lets one app (an OAuth client) read one space: our published form of atproto 0016's simplespace `appAccess`. 0016 ANDs two axes for a read: the reader passes the space's read policy, and the app has appAccess for the space. Authored by the space's AUTHORITY, in its own repo, placed IN the space it names (as a `share` is), so the space's readers see which apps may read it. Approved by whoever passes the space type's published `manage` leg (the owner of a personal space itself, never another account linked to it; Facilitator and up for a collective's, a role held by any of the caller's linked accounts included), written with the authority's pen. Approval is per space. `criteria` is a stated rule for future spaces, stored and shown in social.scenius.listAppAccess; nothing evaluates it yet: future-space coverage is evaluated when `space:` grant enforcement exists. Deleting it withdraws the approval for future reads. Nothing stores a denial. Enforcement arrives with `space:` OAuth grants: before Spaces a proxied read carries no client identity.",
|
|
1158
1158
|
defs: {
|
|
1159
1159
|
main: {
|
|
1160
1160
|
type: 'record',
|
|
@@ -1207,7 +1207,7 @@ export const schemaDict = {
|
|
|
1207
1207
|
PubTechneDraftAppAccessRequest: {
|
|
1208
1208
|
lexicon: 1,
|
|
1209
1209
|
id: 'pub.techne.draft.appAccessRequest',
|
|
1210
|
-
description: "A member asks a space's authority to let one app read the space: the member is using the app and the space has not approved it. Authored by the member (the requester is the author), in their own repo, placed in their own `pub.techne.draft.space.personal/self`: it is the member's own intent, it names a space that may be private, and a member below the space's write policy could not place it in the space itself. When the requester can read the space and is not an approver, every
|
|
1210
|
+
description: "A member asks a space's authority to let one app read the space: the member is using the app and the space has not approved it. Authored by the member (the requester is the author), in their own repo, placed in their own `pub.techne.draft.space.personal/self`: it is the member's own intent, it names a space that may be private, and a member below the space's write policy could not place it in the space itself. When the requester can read the space and is not an approver, every approver social.scenius.getAppAccess lists (the owner of a personal space itself, never an account linked to it; a collective's members who pass the space type's `manage` leg) is notified and can approve (writing a `pub.techne.draft.appAccess`) or let it be; a requester who is an approver is notified of nothing and approves in one tap. Status is derived: approved when an appAccess exists, pending while a request counts without one, none otherwise; nothing stores a denial. A request counts only while its requester can read the space, and a caller who is not an approver sees only requests by their own accounts (their person). Deleting it withdraws the request.",
|
|
1211
1211
|
defs: {
|
|
1212
1212
|
main: {
|
|
1213
1213
|
type: 'record',
|
|
@@ -1326,7 +1326,7 @@ export const schemaDict = {
|
|
|
1326
1326
|
main: {
|
|
1327
1327
|
type: 'record',
|
|
1328
1328
|
key: 'any',
|
|
1329
|
-
description: "Publishers use sidecar_rkey(subject AT-URI + '#' + questionSet name) so a new question bank replaces the assessment in place. `
|
|
1329
|
+
description: "Publishers use sidecar_rkey(subject AT-URI + '#' + questionSet name) so a new question bank replaces the assessment in place. Readers do not depend on the key: the AppView finds assessments by `subject` and its cid and uses the newest.",
|
|
1330
1330
|
record: {
|
|
1331
1331
|
type: 'object',
|
|
1332
1332
|
required: [
|
|
@@ -2252,7 +2252,7 @@ export const schemaDict = {
|
|
|
2252
2252
|
main: {
|
|
2253
2253
|
type: 'record',
|
|
2254
2254
|
key: 'any',
|
|
2255
|
-
description: 'Publishers use sidecar_rkey(subject AT-URI), one per place per writer.
|
|
2255
|
+
description: 'Publishers use sidecar_rkey(subject AT-URI), one per place per writer. Readers do not depend on the key: they read every containedIn about a place.',
|
|
2256
2256
|
record: {
|
|
2257
2257
|
type: 'object',
|
|
2258
2258
|
required: ['subject', 'container', 'createdAt'],
|
|
@@ -2424,7 +2424,7 @@ export const schemaDict = {
|
|
|
2424
2424
|
main: {
|
|
2425
2425
|
type: 'record',
|
|
2426
2426
|
key: 'any',
|
|
2427
|
-
description: 'Publishers use sidecar_rkey(claim AT-URI), one derivation per claim per writer.
|
|
2427
|
+
description: 'Publishers use sidecar_rkey(claim AT-URI), one derivation per claim per writer. Readers do not depend on the key: they find a derivation by the claim it names.',
|
|
2428
2428
|
record: {
|
|
2429
2429
|
type: 'object',
|
|
2430
2430
|
required: ['subject', 'method', 'createdAt'],
|
|
@@ -2577,7 +2577,7 @@ export const schemaDict = {
|
|
|
2577
2577
|
main: {
|
|
2578
2578
|
type: 'record',
|
|
2579
2579
|
key: 'any',
|
|
2580
|
-
description: "The rkey is sidecar_rkey(subject.uri) (regenos-lexicons `sidecar`): lowercase base32 of the sha256 of the subject's AT-URI, so a rewrite updates this record in place and a subject has at most one description per author.
|
|
2580
|
+
description: "The rkey is sidecar_rkey(subject.uri) (regenos-lexicons `sidecar`): lowercase base32 of the sha256 of the subject's AT-URI, so a rewrite updates this record in place and a subject has at most one description per author. Enforced by its readers: the commons rules fetch only the record at sidecar_rkey(subject), so a description at any other key is not read.",
|
|
2581
2581
|
record: {
|
|
2582
2582
|
type: 'object',
|
|
2583
2583
|
required: ['subject', 'text', 'createdAt'],
|
|
@@ -2611,7 +2611,7 @@ export const schemaDict = {
|
|
|
2611
2611
|
main: {
|
|
2612
2612
|
type: 'record',
|
|
2613
2613
|
key: 'any',
|
|
2614
|
-
description: 'One record per pair: publishers put the lower AT-URI in `subject` and use pair_rkey(subject, other) (regenos_lexicons::sidecar), so the reversed pair cannot get a second record.
|
|
2614
|
+
description: 'One record per pair: publishers put the lower AT-URI in `subject` and use pair_rkey(subject, other) (regenos_lexicons::sidecar), so the reversed pair cannot get a second record. Readers do not depend on the key: the commons curator reads a pair from both ends, so a reversed or repeated pair is the same wall. A pair asserted both sameAs and distinctFrom by writers a reader trusts is a conflict that reader resolves.',
|
|
2615
2615
|
record: {
|
|
2616
2616
|
type: 'object',
|
|
2617
2617
|
required: ['subject', 'other', 'createdAt'],
|
|
@@ -2913,7 +2913,7 @@ export const schemaDict = {
|
|
|
2913
2913
|
main: {
|
|
2914
2914
|
type: 'record',
|
|
2915
2915
|
key: 'any',
|
|
2916
|
-
description: 'Publishers use sidecar_rkey(subject AT-URI) (regenos_lexicons::sidecar), so a rewrite for the same subject updates this record.
|
|
2916
|
+
description: 'Publishers use sidecar_rkey(subject AT-URI) (regenos_lexicons::sidecar), so a rewrite for the same subject updates this record. Readers do not depend on the key: they take a trusted geo about the subject at any key.',
|
|
2917
2917
|
record: {
|
|
2918
2918
|
type: 'object',
|
|
2919
2919
|
required: ['subject', 'location', 'createdAt'],
|
|
@@ -2951,7 +2951,7 @@ export const schemaDict = {
|
|
|
2951
2951
|
main: {
|
|
2952
2952
|
type: 'record',
|
|
2953
2953
|
key: 'any',
|
|
2954
|
-
description: 'Publishers use sidecar_rkey(subject AT-URI), one per event per writer.
|
|
2954
|
+
description: 'Publishers use sidecar_rkey(subject AT-URI), one per event per writer. Readers do not depend on the key: the AppView reads every trusted heldAt about an event.',
|
|
2955
2955
|
record: {
|
|
2956
2956
|
type: 'object',
|
|
2957
2957
|
required: ['subject', 'place', 'createdAt'],
|
|
@@ -3091,6 +3091,10 @@ export const schemaDict = {
|
|
|
3091
3091
|
type: 'boolean',
|
|
3092
3092
|
description: 'The PDS created the account in this sign-in.',
|
|
3093
3093
|
},
|
|
3094
|
+
termsShown: {
|
|
3095
|
+
type: 'boolean',
|
|
3096
|
+
description: "Optional; sent only as true, and only with `newAccount`. The PDS's sign-in page named its Terms of Use and Privacy Policy when this account was made there, so the issuer records the person's assent. Absent: nothing to record (a returning sign-in, a page without the line, an older PDS, or a first-party app that shows its own terms).",
|
|
3097
|
+
},
|
|
3094
3098
|
},
|
|
3095
3099
|
},
|
|
3096
3100
|
},
|
|
@@ -3473,7 +3477,7 @@ export const schemaDict = {
|
|
|
3473
3477
|
},
|
|
3474
3478
|
methodView: {
|
|
3475
3479
|
type: 'object',
|
|
3476
|
-
description: "One sign-in method of the
|
|
3480
|
+
description: "One sign-in method of an account. `masked` is always masked. Only identity.manageMethods `list` (the identity PDS's signed hook, for the signed-in owner's own account page) adds `value`; identity.listMethods never does.",
|
|
3477
3481
|
required: ['bid', 'type', 'masked', 'boundAt'],
|
|
3478
3482
|
properties: {
|
|
3479
3483
|
bid: {
|
|
@@ -3496,6 +3500,11 @@ export const schemaDict = {
|
|
|
3496
3500
|
maxLength: 320,
|
|
3497
3501
|
description: "The channel with most of it hidden, e.g. `j•••@example.com`, `+1 ••• ••• 4567`; a passkey's or Nostr key's label; `Recovery codes (n left)`.",
|
|
3498
3502
|
},
|
|
3503
|
+
value: {
|
|
3504
|
+
type: 'string',
|
|
3505
|
+
maxLength: 320,
|
|
3506
|
+
description: "An email's full address or a phone's full number (E.164). Sent only by identity.manageMethods `list`, to the identity PDS, for the owner's own account page; never in identity.listMethods, signInMethods or a notice. Absent on a passkey, Nostr key or recovery codes.",
|
|
3507
|
+
},
|
|
3499
3508
|
boundAt: {
|
|
3500
3509
|
type: 'string',
|
|
3501
3510
|
format: 'datetime',
|
|
@@ -3517,7 +3526,7 @@ export const schemaDict = {
|
|
|
3517
3526
|
},
|
|
3518
3527
|
pendingChange: {
|
|
3519
3528
|
type: 'object',
|
|
3520
|
-
description: "A change that waits for its time (a method's removal
|
|
3529
|
+
description: "A change that waits for its time (a method's removal, the account's deletion, or a method's move onto another account (identity.manageMethods moveMethod), 7 days, or none for a move a recovery method proved; the account's first recovery mark, 24 hours). A move is completed by the platform once due, tried again after a failed write, and may be dropped instead (identity.manageMethods moveMethod says when). Any of the account's methods, a frozen one too, can cancel it until then; a wait during which one of the account's methods was frozen (even if a recovery method lifted the freeze early) is dropped when it runs out, not completed.",
|
|
3521
3530
|
required: ['id', 'kind', 'createdAt', 'dueAt'],
|
|
3522
3531
|
properties: {
|
|
3523
3532
|
id: {
|
|
@@ -3526,12 +3535,22 @@ export const schemaDict = {
|
|
|
3526
3535
|
},
|
|
3527
3536
|
kind: {
|
|
3528
3537
|
type: 'string',
|
|
3529
|
-
knownValues: [
|
|
3538
|
+
knownValues: [
|
|
3539
|
+
'removeMethod',
|
|
3540
|
+
'deleteAccount',
|
|
3541
|
+
'markRecovery',
|
|
3542
|
+
'moveMethod',
|
|
3543
|
+
],
|
|
3530
3544
|
},
|
|
3531
3545
|
method: {
|
|
3532
3546
|
type: 'string',
|
|
3533
3547
|
maxLength: 64,
|
|
3534
|
-
description:
|
|
3548
|
+
description: "The method it removes, marks or moves (for an incoming move, the other account's method).",
|
|
3549
|
+
},
|
|
3550
|
+
other: {
|
|
3551
|
+
type: 'string',
|
|
3552
|
+
format: 'did',
|
|
3553
|
+
description: 'moveMethod: the other account. On the account the method leaves, where it goes; on the account it joins (identity.manageMethods `list` shows the move there too, and either account can cancel it), where it comes from.',
|
|
3535
3554
|
},
|
|
3536
3555
|
createdAt: {
|
|
3537
3556
|
type: 'string',
|
|
@@ -3545,8 +3564,8 @@ export const schemaDict = {
|
|
|
3545
3564
|
},
|
|
3546
3565
|
linkView: {
|
|
3547
3566
|
type: 'object',
|
|
3548
|
-
description: "
|
|
3549
|
-
required: ['did', '
|
|
3567
|
+
description: "Another account of the caller's person: the two are linked (identity.manageMethods moveMethod), every DID of the person naming every other in `alsoKnownAs`. Linked accounts have no primary, and a link is always mutual: identity.listMethods sends `mutual` as true.",
|
|
3568
|
+
required: ['did', 'mutual'],
|
|
3550
3569
|
properties: {
|
|
3551
3570
|
did: {
|
|
3552
3571
|
type: 'string',
|
|
@@ -3557,13 +3576,35 @@ export const schemaDict = {
|
|
|
3557
3576
|
type: 'string',
|
|
3558
3577
|
format: 'handle',
|
|
3559
3578
|
},
|
|
3560
|
-
|
|
3579
|
+
mutual: {
|
|
3580
|
+
type: 'boolean',
|
|
3581
|
+
description: 'Retired: a link is always mutual, and identity.listMethods sends `true` (it was: both accounts hold a matching pub.techne.draft.accountLink).',
|
|
3582
|
+
},
|
|
3583
|
+
since: {
|
|
3584
|
+
type: 'string',
|
|
3585
|
+
format: 'datetime',
|
|
3586
|
+
description: 'When the two accounts became one person.',
|
|
3587
|
+
},
|
|
3588
|
+
},
|
|
3589
|
+
},
|
|
3590
|
+
personMember: {
|
|
3591
|
+
type: 'object',
|
|
3592
|
+
description: "Another account of an account's person (identity.manageMethods `list` and moveMethod).",
|
|
3593
|
+
required: ['did'],
|
|
3594
|
+
properties: {
|
|
3595
|
+
did: {
|
|
3561
3596
|
type: 'string',
|
|
3562
3597
|
format: 'did',
|
|
3563
3598
|
},
|
|
3564
|
-
|
|
3565
|
-
type: '
|
|
3566
|
-
|
|
3599
|
+
since: {
|
|
3600
|
+
type: 'string',
|
|
3601
|
+
format: 'datetime',
|
|
3602
|
+
description: 'When it joined the person. Sent by `list`.',
|
|
3603
|
+
},
|
|
3604
|
+
handle: {
|
|
3605
|
+
type: 'string',
|
|
3606
|
+
format: 'handle',
|
|
3607
|
+
description: "Its handle, when the platform knows one. Sent in addChannel's `otherPerson`.",
|
|
3567
3608
|
},
|
|
3568
3609
|
},
|
|
3569
3610
|
},
|
|
@@ -3654,7 +3695,7 @@ export const schemaDict = {
|
|
|
3654
3695
|
defs: {
|
|
3655
3696
|
main: {
|
|
3656
3697
|
type: 'procedure',
|
|
3657
|
-
description: "Finish adding a sign-in method with the code identity.beginAddMethod sent. `added`: the method is now bound to the caller's account. `alreadyYours`: it already was (re-issued). `boundElsewhere`: it signs in to another account
|
|
3698
|
+
description: "Finish adding a sign-in method with the code identity.beginAddMethod sent. `added`: the method is now bound to the caller's account. `alreadyYours`: it already was (re-issued). `boundElsewhere`: it signs in to another account. When one of the two accounts is empty and new, `offer` (`fold`) says it can be folded into the other with identity.fold; when both hold something, `other` names that account and no offer is made: the two are linked by moving the method (identity.manageMethods moveMethod, on the identity PDS's account page). The `link` offer is retired. The offer's token is single-use, bound to both accounts, the channel and this session, and lasts 10 minutes. `unavailable`: the method cannot be added right now.",
|
|
3658
3699
|
input: {
|
|
3659
3700
|
encoding: 'application/json',
|
|
3660
3701
|
schema: {
|
|
@@ -3690,11 +3731,17 @@ export const schemaDict = {
|
|
|
3690
3731
|
method: {
|
|
3691
3732
|
type: 'ref',
|
|
3692
3733
|
ref: 'lex:pub.techne.draft.identity.defs#methodView',
|
|
3734
|
+
description: "`added` / `alreadyYours`: the method. Absent on `boundElsewhere`: the other account's method is named only to the identity PDS (identity.manageMethods addChannel).",
|
|
3693
3735
|
},
|
|
3694
3736
|
offer: {
|
|
3695
3737
|
type: 'ref',
|
|
3696
3738
|
ref: 'lex:pub.techne.draft.identity.finishAddMethod#offer',
|
|
3697
3739
|
},
|
|
3740
|
+
other: {
|
|
3741
|
+
type: 'string',
|
|
3742
|
+
format: 'did',
|
|
3743
|
+
description: '`boundElsewhere` when both accounts hold something: the account the method signs in to (no `offer`).',
|
|
3744
|
+
},
|
|
3698
3745
|
},
|
|
3699
3746
|
},
|
|
3700
3747
|
},
|
|
@@ -3717,7 +3764,7 @@ export const schemaDict = {
|
|
|
3717
3764
|
},
|
|
3718
3765
|
{
|
|
3719
3766
|
name: 'ProtectedAccount',
|
|
3720
|
-
description: 'The channel signs in to another account, and one of the two has a recovery mark, a live freeze, a pending change, or a passkey, Nostr key or recovery codes (HTTP 409): no fold or link is offered.',
|
|
3767
|
+
description: 'The channel signs in to another account, and one of the two has a recovery mark, a live freeze, a pending change, or a passkey, Nostr key or recovery codes (HTTP 409): no fold or link is offered, and the other account is not named (no `boundElsewhere`).',
|
|
3721
3768
|
},
|
|
3722
3769
|
{
|
|
3723
3770
|
name: 'UpstreamFailure',
|
|
@@ -3732,6 +3779,7 @@ export const schemaDict = {
|
|
|
3732
3779
|
action: {
|
|
3733
3780
|
type: 'string',
|
|
3734
3781
|
knownValues: ['fold', 'link'],
|
|
3782
|
+
description: '`fold`. (`link` is retired and no longer offered.)',
|
|
3735
3783
|
},
|
|
3736
3784
|
token: {
|
|
3737
3785
|
type: 'string',
|
|
@@ -3916,7 +3964,7 @@ export const schemaDict = {
|
|
|
3916
3964
|
defs: {
|
|
3917
3965
|
main: {
|
|
3918
3966
|
type: 'procedure',
|
|
3919
|
-
description: "
|
|
3967
|
+
description: "Retired (Linking v2): the platform no longer serves it, and no client should call it. Two accounts are linked with identity.manageMethods `moveMethod` now, which makes them one person (no accountLink records, no primary). Kept so the name and its shapes stay published. It was: link the caller's account with the other account named by the token identity.finishAddMethod offered: both accounts get a pub.techne.draft.accountLink in their space.personal naming the other and the primary, and each account's `alsoKnownAs` gains `at://{other}` after the handle: signed here where this host holds the account's PLC rotation key, else by the identity PDS that made and hosts it. Nothing moves. v1 links only accounts this host or its identity PDS holds.",
|
|
3920
3968
|
input: {
|
|
3921
3969
|
encoding: 'application/json',
|
|
3922
3970
|
schema: {
|
|
@@ -3963,7 +4011,7 @@ export const schemaDict = {
|
|
|
3963
4011
|
},
|
|
3964
4012
|
{
|
|
3965
4013
|
name: 'InvalidRequest',
|
|
3966
|
-
description:
|
|
4014
|
+
description: '`primary` names neither account, or the other account is held neither here nor by the identity PDS (sign in to it and link from there).',
|
|
3967
4015
|
},
|
|
3968
4016
|
],
|
|
3969
4017
|
},
|
|
@@ -4235,7 +4283,7 @@ export const schemaDict = {
|
|
|
4235
4283
|
defs: {
|
|
4236
4284
|
main: {
|
|
4237
4285
|
type: 'query',
|
|
4238
|
-
description: "The caller's sign-in methods (masked, with their recovery mark and freeze), its pending changes, and the
|
|
4286
|
+
description: "The caller's sign-in methods (masked, with their recovery mark and freeze), its pending changes, and the other accounts of its person (`links`, each `did`, `since` and `mutual`, always true; linked accounts have no primary). Emails and phones only unless `allTypes` (shipped clients label every row as an email). Signed-in members only.",
|
|
4239
4287
|
parameters: {
|
|
4240
4288
|
type: 'params',
|
|
4241
4289
|
properties: {
|
|
@@ -4260,6 +4308,7 @@ export const schemaDict = {
|
|
|
4260
4308
|
},
|
|
4261
4309
|
links: {
|
|
4262
4310
|
type: 'array',
|
|
4311
|
+
description: "The other accounts of the caller's person (linked with identity.manageMethods moveMethod), each with `did`, `since` and `mutual` (always true); linked accounts have no primary. Empty when it is alone.",
|
|
4263
4312
|
items: {
|
|
4264
4313
|
type: 'ref',
|
|
4265
4314
|
ref: 'lex:pub.techne.draft.identity.defs#linkView',
|
|
@@ -4267,7 +4316,7 @@ export const schemaDict = {
|
|
|
4267
4316
|
},
|
|
4268
4317
|
pending: {
|
|
4269
4318
|
type: 'array',
|
|
4270
|
-
description: "The account's pending changes, soonest first (the account page shows them at the top, with Cancel).",
|
|
4319
|
+
description: "The account's pending changes, soonest first (the account page shows them at the top, with Cancel), a move of one of its methods onto another account included.",
|
|
4271
4320
|
items: {
|
|
4272
4321
|
type: 'ref',
|
|
4273
4322
|
ref: 'lex:pub.techne.draft.identity.defs#pendingChange',
|
|
@@ -4390,7 +4439,7 @@ export const schemaDict = {
|
|
|
4390
4439
|
defs: {
|
|
4391
4440
|
main: {
|
|
4392
4441
|
type: 'procedure',
|
|
4393
|
-
description: "The identity PDS's signed hook for the sign-in method rules (the account page and sign-in page call it; the rules live on the platform so every client obeys the same ones). Authenticated only by the epds-signature MAC with the identity hook secret; no session, OAuth or service-JWT caller reaches it, and every answer is signed. The PDS vouches for the signed-in account (`did`, which must be hosted on the calling PDS, else 404 UnknownAccount) and for the step-up it just checked (`stepUp`: which method, when; it counts for 10 minutes). Rules: a recovery method acting with a fresh step-up acts at once; anything else removes a method or deletes the account after a 7-day wait with notice to every method, cancellable by any of them, a frozen one too (`cancel`); a wait re-checks these rules when it runs out (a method marked for recovery meanwhile is not removed; a first mark is dropped once another method is marked; a wait during which any of the account's methods was frozen, even if a recovery method lifted the freeze early or removed the method, is dropped, not completed, since a frozen method can't sign in to cancel it, and every email method gets a `waitDropped` notice naming the change); a freeze is immediate, from a different method with a fresh step-up, and lasts 7 days or until a recovery method lifts it (`unfreeze`); a recovery method is never frozen, removed or unmarked by an unmarked one; the last way to sign in is never removed; marking a recovery method needs a fresh step-up of one, except the account's first, which needs a fresh step-up of any of its methods (else StepUpRequired) and waits 24 hours with notice. Ops: `list` (methods, pending changes, `hasRecovery`), `signInMethods` (for a sign-in page that knows only the account, \"Sign in as @handle\": the methods that can sign in now, each a `display` only, never its full value; no step-up, recovery marks or pending changes), `sendTo` (the full email or phone of one of them, for the PDS to send a sign-in code to; never shown), `remove`, `cancel`, `freeze` (with `signOut`), `unfreeze`, `mark`, `unmark`, `signOut` (sign out everywhere the platform holds a session; the PDS revokes its own), `delete`, `addExternal` (a passkey or Nostr key the PDS proved; always a fresh step-up of one of the account's methods, StepUpRequired without one, and never a program's, ProgramRefused), `newRecoveryCodes` (returned once; a new set ends the old; always a fresh step-up, and on an account with no recovery method the set is its first mark, which waits 24 hours; a first set is refused, MethodFrozen, while one of the account's methods is frozen), `redeemCode`, `setPrograms` (\"Programs can sign in with this key\" on or off, `on`, for a Nostr key, the only type that supports it: on and off both need a fresh step-up of one of the account's methods that is not a program, not frozen (a step-up by a key with programs on is ProgramRefused, so that key never switches itself off); on is also refused from the key itself, SameMethod, for a recovery method or one whose first mark is waiting, IsRecovery, and while a method of the account is frozen, MethodFrozen), `addChannel` (a `channel` the PDS just proved for `did`, as identity.finishAddMethod does for a session: `added`, `alreadyYours`, or `boundElsewhere` with an `offer` (identity.finishAddMethod#offer), single use, 10 minutes, bound to `did` on this hook and to no session; MethodFrozen when the channel is frozen on any account, MethodFrozen when `did` itself has a frozen method and the channel would be new to it (no method is added past a freeze; `addExternal` likewise), ProtectedAccount when either account has a recovery mark, a freeze, a pending change, or a passkey, Nostr key or recovery codes), `fold` and `link` (take that offer: `token`, and for `link` the `primary`; need a fresh step-up of `did`; ProtectedAccount (a live freeze included) and NotEmpty, checked again; `folded` with the kept `did` and the `emptied` one, which is deleted (on the identity PDS too, by `dueDeletes`), or `linked` with `link`), `importBackupEmails` (once per account, recorded: a second call answers `alreadyImported` even after every mark is taken off; the move of the PDS's verified backup emails, `backupEmails`, each with when the PDS verified it: one verified before 2026-11-13T00:00:00Z becomes an email method marked for recovery at once, without step-up or wait, and one verified at or after it is skipped, `afterCutoff`, since only the holder could have added one before these rules; only an account with no recovery method takes one, all of its addresses in one call (each address once, else 400 InvalidRequest), else `hasRecovery`, nothing changes and the import is spent; a call that marks none of them spends it too; MethodFrozen while one of the account's methods is frozen, not spent; `indexOff` while the identity index is off), for the notice queue (no `did`; only the accounts the calling PDS hosts; the platform emails those of accounts hosted elsewhere itself) `notices` (up to 100 to deliver; one taken and not confirmed is offered again after 5 minutes, at most 10 times) and `noticesSent`, for a login service that just checked a signature by a Nostr key and knows no account yet (no `did`) `findKey` (`external`, type `nostr` and the 64-character lowercase hex key: `none` when no account the calling PDS hosts has it, else `done` with the account's `did`, the key's `method`, whether that method is `frozen` now, and whether `programs` may sign in with it), and for scheduled account deletions that came due (no `did`; only the accounts the calling PDS hosts) `dueDeletes` (up to 100 accounts the platform has deleted on its side, which the PDS deletes too; one taken and not confirmed is offered again after 5 minutes, without limit) and `dueDeletesDone` (`dids` the PDS deleted), and for a consent screen after sign-in `operator` (`operator`: whether `did` is one of the platform's operators, so the PDS offers the moderate scope, `include:pub.techne.draft.authModerate`, to operators only and drops it from everyone else's grant). Programs: a key with programs on can't be marked (ProgramsOn), and a program never touches account security: when the PDS says a program made the request (`program`), or the step-up names a key with programs on, every op but `list`, `signInMethods` and `sendTo` is 403 ProgramRefused (`operator` included: a program never moderates), `setPrograms` included: such a key's programs are turned off by a step-up of another of the account's methods.",
|
|
4442
|
+
description: "The identity PDS's signed hook for the sign-in method rules (the account page and sign-in page call it; the rules live on the platform so every client obeys the same ones). Authenticated only by the epds-signature MAC with the identity hook secret; no session, OAuth or service-JWT caller reaches it, and every answer is signed. The PDS vouches for the signed-in account (`did`, which must be hosted on the calling PDS, else 404 UnknownAccount) and for the step-up it just checked (`stepUp`: which method, when; it counts for 10 minutes). Rules: a recovery method acting with a fresh step-up acts at once; anything else removes a method or deletes the account after a 7-day wait with an email notice, if it has any email method, cancellable by any of the account's methods, a frozen one too (`cancel`); a wait re-checks these rules when it runs out (a method marked for recovery meanwhile is not removed; a first mark is dropped once another method is marked; a wait during which any of the account's methods was frozen, even if a recovery method lifted the freeze early or removed the method, is dropped, not completed, since a frozen method can't sign in to cancel it, and every email method gets a `waitDropped` notice naming the change); a freeze is immediate, from a different method with a fresh step-up, and lasts 7 days or until a recovery method lifts it (`unfreeze`); a recovery method is never frozen, removed or unmarked by an unmarked one; the last way to sign in is never removed; marking a recovery method needs a fresh step-up of one, except the account's first, which needs a fresh step-up of any of its methods (else StepUpRequired) and waits 24 hours with an email notice, if the account has any email method. Notices are email only: the platform sends every one itself, wherever the account is hosted, to each of the account's email methods (never by phone or Nostr); the PDS sends none. Ops: `list` (the account's methods, each email and phone also with its full `value` for the owner's own account page, pending changes (an open `moveMethod` onto the account included), `hasRecovery`, and `person`, the other accounts of its person), `signInMethods` (for a sign-in page that knows only the account, \"Sign in as @handle\": the methods that can sign in now, each a `display` only, never its full value; no step-up, recovery marks or pending changes), `sendTo` (the full email or phone of one of them, for the PDS to send a sign-in code to; never shown), `remove`, `cancel`, `freeze` (with `signOut`), `unfreeze`, `mark`, `unmark`, `signOut` (sign out everywhere the platform holds a session; the PDS revokes its own), `delete`, `addExternal` (a passkey or Nostr key the PDS proved; always a fresh step-up of one of the account's methods, StepUpRequired without one, and never a program's, ProgramRefused), `newRecoveryCodes` (returned once; a new set ends the old; always a fresh step-up, and on an account with no recovery method the set is its first mark, which waits 24 hours; a first set is refused, MethodFrozen, while one of the account's methods is frozen), `redeemCode`, `setPrograms` (\"Programs can sign in with this key\" on or off, `on`, for a Nostr key, the only type that supports it: on and off both need a fresh step-up of one of the account's methods that is not a program, not frozen (a step-up by a key with programs on is ProgramRefused, so that key never switches itself off); on is also refused from the key itself, SameMethod, for a recovery method or one whose first mark is waiting, IsRecovery, and while a method of the account is frozen, MethodFrozen), `addChannel` (a `channel` the PDS just proved for `did`, as identity.finishAddMethod does for a session: `added`, `alreadyYours`, or `boundElsewhere`: when both accounts hold something, with the `other` account and its `method` (the account page offers `moveMethod`), else with a fold `offer` (identity.finishAddMethod#offer), single use, 10 minutes, bound to `did` on this hook and to no session; MethodFrozen when the channel is frozen on any account, MethodFrozen when `did` itself has a frozen method and the channel would be new to it (no method is added past a freeze; `addExternal` likewise), and, on the fold path only (one of the two accounts holds nothing, so an `offer` would be made), ProtectedAccount when either account has a recovery mark, a freeze, a pending change, or a passkey, Nostr key or recovery codes; when both hold something the answer names `other` and `method` and moveMethod's own refusals apply), `fold` (take that offer: `token`; needs a fresh step-up of `did`; ProtectedAccount (a live freeze included) and NotEmpty, checked again; `folded` with the kept `did` and the `emptied` one, which is deleted (on the identity PDS too, by `dueDeletes`)), `moveMethod` (link two accounts: move an email or phone method of account `from` onto `did` and make the two accounts one person, every DID of each linked to every other in `alsoKnownAs`; needs a fresh step-up of `did` and one of `from` (`fromStepUp`, else FromStepUpRequired); refused, nothing scheduled, when a method of either person is frozen (Frozen), either has a pending change (PendingChange), the person would hold more than 4 accounts (TooMany), the two are already one person or the same account (Same), or no key can write `alsoKnownAs` for one of their DIDs (NoKey); a method marked for recovery on `from` moves only with a `fromStepUp` of a recovery method of `from` (RecoveryProtected); it is never done inside the call: the answer is `pending` (the change, a pending change of `from`, as a defs#pendingChange as `did`'s `list` shows it) with `due`, its `dueAt`: now for a move such a step-up proved, else 7 days on, a wait `from` is told about by email (a recovery-proven move is told only when it completes), which any method of either account can `cancel`, and which a freeze of either person's methods drops (`waitDropped` to `from`); the platform completes it once due: a move whose key check or `alsoKnownAs` writes fail is tried again after a backoff (2^tries minutes, at most an hour), one refused for good (no key we can ask holds it, or the identity PDS refuses the account) is dropped with a `moveDropped` email to both accounts, one still failing 24 hours past `due` is dropped with `moveTimedOut`, one whose accounts changed meanwhile (the method gone, or marked for recovery since unless a recovery method proved the move; a refusal above other than a freeze; or a recovery-proven requester no longer a recovery method) is dropped with `moveCancelled` to both, and a completed one sends every account of the person a `linked` email), `unlink` (account `other` leaves `did`'s person at once; the removal of the `alsoKnownAs` entries between it and the rest is queued, tried again after a failure, and given up after about a day, or at once when refused for good, with an `akaLeft` email to both accounts of the entry; needs a fresh step-up of `did`; when `other` would be left with no way to sign in, `method`, one of `did`'s email or phone methods, is required (else NeedsMethod) and moves to `other`, which needs a step-up of a recovery method of `did` or of that method itself (NeedsRecoveryMethod), a recovery method's step-up for a method marked for recovery (RecoveryProtected), a method that is not frozen (MethodFrozen) and not `did`'s last way to sign in (LastMethod); NotLinked when `other` is not in `did`'s person; an email handed to `other` is released from `did`'s identity-PDS account, tried again after a failure and given up after about a day with an `emailLeft` email to `did`; both accounts get an `unlinked` email), `link` (retired, answers 400 InvalidRequest: a link is `moveMethod` now), `importBackupEmails` (once per account, recorded: a second call answers `alreadyImported` even after every mark is taken off; the move of the PDS's verified backup emails, `backupEmails`, each with when the PDS verified it: one verified before 2026-11-13T00:00:00Z becomes an email method marked for recovery at once, without step-up or wait, and one verified at or after it is skipped, `afterCutoff`, since only the holder could have added one before these rules; only an account with no recovery method takes one, all of its addresses in one call (each address once, else 400 InvalidRequest), else `hasRecovery`, nothing changes and the import is spent; a call that marks none of them spends it too; MethodFrozen while one of the account's methods is frozen, not spent; `indexOff` while the identity index is off), `notices` and `noticesSent` (no `did`; unused, kept for older clients: `notices` always answers an empty list and `noticesSent` `count: 0`, since the platform sends every notice itself), for a login service that just checked a signature by a Nostr key and knows no account yet (no `did`) `findKey` (`external`, type `nostr` and the 64-character lowercase hex key: `none` when no account the calling PDS hosts has it, else `done` with the account's `did`, the key's `method`, whether that method is `frozen` now, and whether `programs` may sign in with it), and for scheduled account deletions that came due (no `did`; only the accounts the calling PDS hosts) `dueDeletes` (up to 100 accounts the platform has deleted on its side, which the PDS deletes too; one taken and not confirmed is offered again after 5 minutes, without limit) and `dueDeletesDone` (`dids` the PDS deleted), and for a consent screen after sign-in `operator` (`operator`: whether `did` is one of the platform's operators, so the PDS offers the moderate scope, `include:pub.techne.draft.authModerate`, to operators only and drops it from everyone else's grant). Programs: a key with programs on can't be marked (ProgramsOn), and a program never touches account security: when the PDS says a program made the request (`program`), or the step-up names a key with programs on, every op but `list`, `signInMethods` and `sendTo` is 403 ProgramRefused (`operator` included: a program never moderates), `setPrograms` included: such a key's programs are turned off by a step-up of another of the account's methods.",
|
|
4394
4443
|
input: {
|
|
4395
4444
|
encoding: 'application/json',
|
|
4396
4445
|
schema: {
|
|
@@ -4428,8 +4477,11 @@ export const schemaDict = {
|
|
|
4428
4477
|
'addChannel',
|
|
4429
4478
|
'fold',
|
|
4430
4479
|
'link',
|
|
4480
|
+
'moveMethod',
|
|
4481
|
+
'unlink',
|
|
4431
4482
|
'operator',
|
|
4432
4483
|
],
|
|
4484
|
+
description: 'The op. `link` is retired: it answers 400 InvalidRequest; `moveMethod` links two accounts now.',
|
|
4433
4485
|
},
|
|
4434
4486
|
did: {
|
|
4435
4487
|
type: 'string',
|
|
@@ -4443,7 +4495,7 @@ export const schemaDict = {
|
|
|
4443
4495
|
method: {
|
|
4444
4496
|
type: 'string',
|
|
4445
4497
|
maxLength: 64,
|
|
4446
|
-
description: 'The method acted on (its `id` in `list` or `signInMethods`).',
|
|
4498
|
+
description: 'The method acted on (its `id` in `list` or `signInMethods`). moveMethod: the method of `from` that moves onto `did`. unlink: the method of `did` handed to `other` when `other` would have none left.',
|
|
4447
4499
|
},
|
|
4448
4500
|
pending: {
|
|
4449
4501
|
type: 'string',
|
|
@@ -4469,7 +4521,7 @@ export const schemaDict = {
|
|
|
4469
4521
|
items: {
|
|
4470
4522
|
type: 'integer',
|
|
4471
4523
|
},
|
|
4472
|
-
description: '
|
|
4524
|
+
description: 'Unused, kept for older clients: notice ids for `noticesSent`, which confirms none.',
|
|
4473
4525
|
},
|
|
4474
4526
|
emails: {
|
|
4475
4527
|
type: 'array',
|
|
@@ -4506,12 +4558,27 @@ export const schemaDict = {
|
|
|
4506
4558
|
token: {
|
|
4507
4559
|
type: 'string',
|
|
4508
4560
|
maxLength: 128,
|
|
4509
|
-
description: "fold
|
|
4561
|
+
description: "fold: the offer's token from addChannel. (link, retired, took one too.)",
|
|
4562
|
+
},
|
|
4563
|
+
from: {
|
|
4564
|
+
type: 'string',
|
|
4565
|
+
format: 'did',
|
|
4566
|
+
description: 'moveMethod: the account the method leaves.',
|
|
4567
|
+
},
|
|
4568
|
+
fromStepUp: {
|
|
4569
|
+
type: 'ref',
|
|
4570
|
+
ref: 'lex:pub.techne.draft.identity.manageMethods#stepUp',
|
|
4571
|
+
description: "moveMethod: what the PDS's step-up of `from` proved (fresh, one of `from`'s methods).",
|
|
4572
|
+
},
|
|
4573
|
+
other: {
|
|
4574
|
+
type: 'string',
|
|
4575
|
+
format: 'did',
|
|
4576
|
+
description: "unlink: the account that leaves `did`'s person.",
|
|
4510
4577
|
},
|
|
4511
4578
|
primary: {
|
|
4512
4579
|
type: 'string',
|
|
4513
4580
|
format: 'did',
|
|
4514
|
-
description:
|
|
4581
|
+
description: "Retired, not read: it was the retired `link` op's primary account. Linked accounts have no primary.",
|
|
4515
4582
|
},
|
|
4516
4583
|
on: {
|
|
4517
4584
|
type: 'boolean',
|
|
@@ -4554,15 +4621,21 @@ export const schemaDict = {
|
|
|
4554
4621
|
'linked',
|
|
4555
4622
|
'none',
|
|
4556
4623
|
],
|
|
4557
|
-
description: "`done`: it happened now. `pending`: it waits (`pending`). `deleted` / `deleting` (`delete` done now): the account is gone / its local half is gone and a sweep finishes the rest (deleteAccount's `deleted` / `pending`; a deletion that could not start answers 503 Unavailable, try again). `bound`: addExternal's key is on another account. `invalid`: redeemCode's code is wrong, used, or the set is not a recovery method or is frozen. `hasRecovery`: importBackupEmails found a recovery method on the account; nothing changed. `indexOff`: importBackupEmails can't mark anything while the identity index is off; nothing changed. `alreadyImported`: importBackupEmails ran for this account before; nothing changed. `added` / `alreadyYours` / `boundElsewhere` / `unavailable`: addChannel, as identity.finishAddMethod. `folded
|
|
4624
|
+
description: "`done`: it happened now. `pending`: it waits (`pending`). `deleted` / `deleting` (`delete` done now): the account is gone / its local half is gone and a sweep finishes the rest (deleteAccount's `deleted` / `pending`; a deletion that could not start answers 503 Unavailable, try again). `bound`: addExternal's key is on another account. `invalid`: redeemCode's code is wrong, used, or the set is not a recovery method or is frozen. `hasRecovery`: importBackupEmails found a recovery method on the account; nothing changed. `indexOff`: importBackupEmails can't mark anything while the identity index is off; nothing changed. `alreadyImported`: importBackupEmails ran for this account before; nothing changed. `added` / `alreadyYours` / `boundElsewhere` / `unavailable`: addChannel, as identity.finishAddMethod. `folded`: fold done. `linked`: retired (the retired `link` op's answer). moveMethod answers `pending` only, with `pending` (the change, a defs#pendingChange) and `due`. `none`: findKey's key is no method of an account the calling PDS hosts.",
|
|
4558
4625
|
},
|
|
4559
4626
|
pending: {
|
|
4560
4627
|
type: 'ref',
|
|
4561
4628
|
ref: 'lex:pub.techne.draft.identity.defs#pendingChange',
|
|
4629
|
+
description: "The change that waits. moveMethod's `pending` answer carries the change here, as `did`'s `list` shows it (`other` and `method`: the account the method comes from and that method), with `due`; `list` answers every pending change of the account as an array.",
|
|
4630
|
+
},
|
|
4631
|
+
due: {
|
|
4632
|
+
type: 'string',
|
|
4633
|
+
format: 'datetime',
|
|
4634
|
+
description: 'moveMethod `pending`: when the move is due (now for one a recovery method of `from` proved, else 7 days on). The platform completes it then or after a failed try, unless it is cancelled or dropped.',
|
|
4562
4635
|
},
|
|
4563
4636
|
method: {
|
|
4564
4637
|
type: 'string',
|
|
4565
|
-
description: "addExternal's new method id, the recovery-code set redeemCode used, or addChannel's method id when `added` or `alreadyYours` (empty while the identity index is off); findKey's method id of the key.",
|
|
4638
|
+
description: "addExternal's new method id, the recovery-code set redeemCode used, or addChannel's method id when `added` or `alreadyYours` (empty while the identity index is off); findKey's method id of the key. addChannel `boundElsewhere` when both accounts hold something: the other account's method id, for `moveMethod` (identity.finishAddMethod's session answer leaves it out).",
|
|
4566
4639
|
},
|
|
4567
4640
|
codes: {
|
|
4568
4641
|
type: 'array',
|
|
@@ -4577,6 +4650,7 @@ export const schemaDict = {
|
|
|
4577
4650
|
type: 'ref',
|
|
4578
4651
|
ref: 'lex:pub.techne.draft.identity.defs#methodView',
|
|
4579
4652
|
},
|
|
4653
|
+
description: "list: the account's methods (`value` on emails and phones; see defs#methodView).",
|
|
4580
4654
|
},
|
|
4581
4655
|
hasRecovery: {
|
|
4582
4656
|
type: 'boolean',
|
|
@@ -4587,10 +4661,11 @@ export const schemaDict = {
|
|
|
4587
4661
|
type: 'ref',
|
|
4588
4662
|
ref: 'lex:pub.techne.draft.identity.manageMethods#notice',
|
|
4589
4663
|
},
|
|
4664
|
+
description: 'Unused, kept for older clients: always empty. The platform emails every notice itself.',
|
|
4590
4665
|
},
|
|
4591
4666
|
count: {
|
|
4592
4667
|
type: 'integer',
|
|
4593
|
-
description: '
|
|
4668
|
+
description: 'dueDeletesDone: how many were confirmed. noticesSent (unused, kept for older clients): always 0.',
|
|
4594
4669
|
},
|
|
4595
4670
|
signInMethods: {
|
|
4596
4671
|
type: 'array',
|
|
@@ -4631,15 +4706,36 @@ export const schemaDict = {
|
|
|
4631
4706
|
format: 'did',
|
|
4632
4707
|
description: 'fold: the kept account. findKey: the account the key signs in to.',
|
|
4633
4708
|
},
|
|
4709
|
+
other: {
|
|
4710
|
+
type: 'string',
|
|
4711
|
+
format: 'did',
|
|
4712
|
+
description: "addChannel `boundElsewhere` when both accounts hold something: the account the channel signs in to (for `moveMethod`'s `from`).",
|
|
4713
|
+
},
|
|
4714
|
+
otherPerson: {
|
|
4715
|
+
type: 'array',
|
|
4716
|
+
items: {
|
|
4717
|
+
type: 'ref',
|
|
4718
|
+
ref: 'lex:pub.techne.draft.identity.defs#personMember',
|
|
4719
|
+
},
|
|
4720
|
+
description: 'addChannel `boundElsewhere` (either form): the other accounts of the person of the account the channel signs in to, now (`did`, `handle` when known), that account itself left out; empty when it is alone.',
|
|
4721
|
+
},
|
|
4634
4722
|
emptied: {
|
|
4635
4723
|
type: 'string',
|
|
4636
4724
|
format: 'did',
|
|
4637
4725
|
description: 'fold: the account folded in and deleted.',
|
|
4638
4726
|
},
|
|
4727
|
+
person: {
|
|
4728
|
+
type: 'array',
|
|
4729
|
+
items: {
|
|
4730
|
+
type: 'ref',
|
|
4731
|
+
ref: 'lex:pub.techne.draft.identity.defs#personMember',
|
|
4732
|
+
},
|
|
4733
|
+
description: "list: the other accounts of `did`'s person (empty when it is alone). moveMethod no longer answers `done`, which carried the person's accounts here.",
|
|
4734
|
+
},
|
|
4639
4735
|
link: {
|
|
4640
4736
|
type: 'ref',
|
|
4641
4737
|
ref: 'lex:pub.techne.draft.identity.defs#linkView',
|
|
4642
|
-
description: "
|
|
4738
|
+
description: "Retired: the retired `link` op's answer.",
|
|
4643
4739
|
},
|
|
4644
4740
|
frozen: {
|
|
4645
4741
|
type: 'boolean',
|
|
@@ -4675,7 +4771,7 @@ export const schemaDict = {
|
|
|
4675
4771
|
},
|
|
4676
4772
|
{
|
|
4677
4773
|
name: 'NotFound',
|
|
4678
|
-
description: 'No such method or pending change on the account.',
|
|
4774
|
+
description: 'No such method or pending change on the account (moveMethod: `from` has no such method).',
|
|
4679
4775
|
},
|
|
4680
4776
|
{
|
|
4681
4777
|
name: 'NotYourMethod',
|
|
@@ -4683,19 +4779,19 @@ export const schemaDict = {
|
|
|
4683
4779
|
},
|
|
4684
4780
|
{
|
|
4685
4781
|
name: 'LastMethod',
|
|
4686
|
-
description:
|
|
4782
|
+
description: "It would leave no way to sign in (unlink: the method handed to `other` is `did`'s only one).",
|
|
4687
4783
|
},
|
|
4688
4784
|
{
|
|
4689
4785
|
name: 'RecoveryProtected',
|
|
4690
|
-
description: 'Only a recovery method can do this to a recovery method.',
|
|
4786
|
+
description: 'Only a recovery method can do this to a recovery method (moveMethod: of `from`; unlink: of `did`).',
|
|
4691
4787
|
},
|
|
4692
4788
|
{
|
|
4693
4789
|
name: 'NeedsRecoveryMethod',
|
|
4694
|
-
description: 'Needs a fresh step-up of a recovery method.',
|
|
4790
|
+
description: 'Needs a fresh step-up of a recovery method (unlink: or of the method handed to `other` itself).',
|
|
4695
4791
|
},
|
|
4696
4792
|
{
|
|
4697
4793
|
name: 'StepUpRequired',
|
|
4698
|
-
description: "Needs a fresh step-up (an account's first recovery mark, `newRecoveryCodes`, `fold` and `
|
|
4794
|
+
description: "Needs a fresh step-up (an account's first recovery mark, `newRecoveryCodes`, `fold`, `moveMethod` and `unlink` included).",
|
|
4699
4795
|
},
|
|
4700
4796
|
{
|
|
4701
4797
|
name: 'SameMethod',
|
|
@@ -4703,19 +4799,19 @@ export const schemaDict = {
|
|
|
4703
4799
|
},
|
|
4704
4800
|
{
|
|
4705
4801
|
name: 'MethodFrozen',
|
|
4706
|
-
description: "The acting method is frozen (for `sendTo`: the method named is; for `addChannel`: the channel is, on whichever account, or the channel would be new to `did` while one of its methods is frozen; for `addExternal`, a first `newRecoveryCodes` set and `importBackupEmails`: one of `did`'s methods is frozen, and the message says so).",
|
|
4802
|
+
description: "The acting method is frozen (for `sendTo`: the method named is; for `addChannel`: the channel is, on whichever account, or the channel would be new to `did` while one of its methods is frozen; for `addExternal`, a first `newRecoveryCodes` set and `importBackupEmails`: one of `did`'s methods is frozen, and the message says so; for `unlink`: the method handed to `other` is).",
|
|
4707
4803
|
},
|
|
4708
4804
|
{
|
|
4709
4805
|
name: 'InvalidToken',
|
|
4710
|
-
description: 'fold
|
|
4806
|
+
description: 'fold: the offer is unknown, used, expired, for the other action, or not made to `did` on this hook.',
|
|
4711
4807
|
},
|
|
4712
4808
|
{
|
|
4713
4809
|
name: 'ProtectedAccount',
|
|
4714
|
-
description: 'addChannel / fold
|
|
4810
|
+
description: 'addChannel / fold: one of the two accounts has a recovery mark, a live freeze, a pending change, or a passkey, Nostr key or recovery codes; it is never folded, and addChannel answers this before any `boundElsewhere`, so nothing about the other account is sent (HTTP 409).',
|
|
4715
4811
|
},
|
|
4716
4812
|
{
|
|
4717
4813
|
name: 'NotEmpty',
|
|
4718
|
-
description: 'fold: the account to fold gained a record or is 7 days old or more; link instead (HTTP 409).',
|
|
4814
|
+
description: 'fold: the account to fold gained a record or is 7 days old or more; link it with `moveMethod` instead (HTTP 409).',
|
|
4719
4815
|
},
|
|
4720
4816
|
{
|
|
4721
4817
|
name: 'ProgramRefused',
|
|
@@ -4729,6 +4825,38 @@ export const schemaDict = {
|
|
|
4729
4825
|
name: 'IsRecovery',
|
|
4730
4826
|
description: 'setPrograms on: the method is a recovery method, or its first mark is waiting (HTTP 409).',
|
|
4731
4827
|
},
|
|
4828
|
+
{
|
|
4829
|
+
name: 'FromStepUpRequired',
|
|
4830
|
+
description: "moveMethod: `fromStepUp` is missing, malformed, not fresh, or names none of `from`'s methods (HTTP 403).",
|
|
4831
|
+
},
|
|
4832
|
+
{
|
|
4833
|
+
name: 'Frozen',
|
|
4834
|
+
description: 'moveMethod: a method of an account of either person is frozen; nothing is scheduled (HTTP 409).',
|
|
4835
|
+
},
|
|
4836
|
+
{
|
|
4837
|
+
name: 'PendingChange',
|
|
4838
|
+
description: 'moveMethod: an account of either person has a pending change, a move included; nothing is scheduled (HTTP 409).',
|
|
4839
|
+
},
|
|
4840
|
+
{
|
|
4841
|
+
name: 'TooMany',
|
|
4842
|
+
description: 'moveMethod: the person would hold more than 4 accounts (HTTP 409).',
|
|
4843
|
+
},
|
|
4844
|
+
{
|
|
4845
|
+
name: 'Same',
|
|
4846
|
+
description: 'moveMethod: the two accounts are already one person, or the same account (HTTP 409).',
|
|
4847
|
+
},
|
|
4848
|
+
{
|
|
4849
|
+
name: 'NoKey',
|
|
4850
|
+
description: 'moveMethod: no key this platform or the identity PDS holds can write `alsoKnownAs` for an account of either person; nothing is scheduled (HTTP 409).',
|
|
4851
|
+
},
|
|
4852
|
+
{
|
|
4853
|
+
name: 'NeedsMethod',
|
|
4854
|
+
description: "unlink: `other` would be left with no way to sign in; name one of `did`'s email or phone methods to hand it (`method`) (HTTP 409).",
|
|
4855
|
+
},
|
|
4856
|
+
{
|
|
4857
|
+
name: 'NotLinked',
|
|
4858
|
+
description: "unlink: `other` is not in `did`'s person, or is `did` (HTTP 404).",
|
|
4859
|
+
},
|
|
4732
4860
|
],
|
|
4733
4861
|
},
|
|
4734
4862
|
stepUp: {
|
|
@@ -4767,6 +4895,7 @@ export const schemaDict = {
|
|
|
4767
4895
|
},
|
|
4768
4896
|
notice: {
|
|
4769
4897
|
type: 'object',
|
|
4898
|
+
description: "Unused, kept for older clients: `notices` always answers an empty list. The platform emails every notice itself, to the account's email methods only.",
|
|
4770
4899
|
required: ['id', 'did', 'event', 'to', 'createdAt'],
|
|
4771
4900
|
properties: {
|
|
4772
4901
|
id: {
|
|
@@ -4785,8 +4914,16 @@ export const schemaDict = {
|
|
|
4785
4914
|
'freeze',
|
|
4786
4915
|
'waitDropped',
|
|
4787
4916
|
'programsOn',
|
|
4917
|
+
'moveMethod',
|
|
4918
|
+
'linked',
|
|
4919
|
+
'unlinked',
|
|
4920
|
+
'moveDropped',
|
|
4921
|
+
'moveTimedOut',
|
|
4922
|
+
'moveCancelled',
|
|
4923
|
+
'akaLeft',
|
|
4924
|
+
'emailLeft',
|
|
4788
4925
|
],
|
|
4789
|
-
description: "What the notice is about: a change that started to wait (`removeMethod`, `deleteAccount`, `markRecovery`), a `freeze`, `waitDropped`: the change in `pending` was not completed because one of the account's methods was frozen during its wait,
|
|
4926
|
+
description: "What the notice is about: a change that started to wait (`removeMethod`, `deleteAccount`, `markRecovery`, `moveMethod`), a `freeze`, `waitDropped`: the change in `pending` was not completed because one of the account's methods was frozen during its wait, `programsOn`: programs can now sign in with one of the account's Nostr keys (`setPrograms` on; no `pending`), `linked` / `unlinked`: a link (moveMethod completed) or an unlink changed the account's person, `moveDropped` / `moveTimedOut` / `moveCancelled`: a move was dropped because a key can't be used or the identity PDS refused it for good, because it still could not be written 24 hours past due, or because something changed on one of its accounts, or `akaLeft` / `emailLeft`: an `alsoKnownAs` entry or an identity-PDS account email the platform owed removing was given up and is left.",
|
|
4790
4927
|
},
|
|
4791
4928
|
to: {
|
|
4792
4929
|
type: 'ref',
|
|
@@ -4825,6 +4962,7 @@ export const schemaDict = {
|
|
|
4825
4962
|
},
|
|
4826
4963
|
noticeTo: {
|
|
4827
4964
|
type: 'object',
|
|
4965
|
+
description: "An email or phone number in full: `sendTo`'s `to`. Also the shape of #notice's `to`, which is unused and kept for older clients (notices go to email methods only).",
|
|
4828
4966
|
required: ['type', 'value'],
|
|
4829
4967
|
properties: {
|
|
4830
4968
|
type: {
|
|
@@ -5326,7 +5464,7 @@ export const schemaDict = {
|
|
|
5326
5464
|
defs: {
|
|
5327
5465
|
main: {
|
|
5328
5466
|
type: 'procedure',
|
|
5329
|
-
description: "
|
|
5467
|
+
description: "Retired (Linking v2): the platform no longer serves it, and no client should call it. An account leaves its person with identity.manageMethods `unlink` now. Kept so the name and its shapes stay published. It was: end an alias link: deletes the caller's pub.techne.draft.accountLink naming `other`, and the other account's too when this host holds it, and removes the `alsoKnownAs` entries the link added (signed here, or by the identity PDS for accounts it made).",
|
|
5330
5468
|
input: {
|
|
5331
5469
|
encoding: 'application/json',
|
|
5332
5470
|
schema: {
|
|
@@ -5371,7 +5509,7 @@ export const schemaDict = {
|
|
|
5371
5509
|
defs: {
|
|
5372
5510
|
main: {
|
|
5373
5511
|
type: 'procedure',
|
|
5374
|
-
description: "Remove a sign-in method from the caller's account, by the sign-in method rules (identity.manageMethods): this method carries no step-up, so the removal always waits 7 days with notice to
|
|
5512
|
+
description: "Remove a sign-in method from the caller's account, by the sign-in method rules (identity.manageMethods): this method carries no step-up, so the removal always waits 7 days, with an email notice to each of the account's email methods, and any of its methods can cancel it (`status: pending`, `pending`); a recovery method is not removed this way (`RecoveryProtected`), and the last way to sign in never is. When it completes: its credential is revoked (`unlinked`), the channel stops signing in to this account, and its attested pub.techne.draft.contactChannel is deleted. Its next sign-in is treated as new. A removed phone number is marked released: identity.resolve answers `unbound` with `released` and `releasedFrom` (this account) until someone binds it, so a PDS never signs it in to this account again through a placeholder it kept, and identity.attest refuses binding it back here (`ChannelReleased`); only adding it again (identity.finishAddMethod) does. Refused for the account's last method.",
|
|
5375
5513
|
input: {
|
|
5376
5514
|
encoding: 'application/json',
|
|
5377
5515
|
schema: {
|
|
@@ -5704,7 +5842,7 @@ export const schemaDict = {
|
|
|
5704
5842
|
main: {
|
|
5705
5843
|
type: 'record',
|
|
5706
5844
|
key: 'any',
|
|
5707
|
-
description: "The rkey is the operator's DID, or `{did}-{millis}` for a later period after one has ended, so each period keeps its own record.
|
|
5845
|
+
description: "The rkey is the operator's DID, or `{did}-{millis}` for a later period after one has ended, so each period keeps its own record. Enforced by the AppView on read: a record counts only at one of those rkeys and only with `subject` = that DID.",
|
|
5708
5846
|
record: {
|
|
5709
5847
|
type: 'object',
|
|
5710
5848
|
required: ['subject', 'createdAt'],
|
|
@@ -6724,7 +6862,7 @@ export const schemaDict = {
|
|
|
6724
6862
|
main: {
|
|
6725
6863
|
type: 'record',
|
|
6726
6864
|
key: 'any',
|
|
6727
|
-
description: 'Publishers use sidecar_rkey(subject AT-URI), one research record per place per writer.
|
|
6865
|
+
description: 'Publishers use sidecar_rkey(subject AT-URI), one research record per place per writer. Readers do not depend on the key: the AppView uses the newest research record about a place from a trusted writer.',
|
|
6728
6866
|
record: {
|
|
6729
6867
|
type: 'object',
|
|
6730
6868
|
required: ['subject', 'createdAt'],
|
|
@@ -7147,7 +7285,7 @@ export const schemaDict = {
|
|
|
7147
7285
|
main: {
|
|
7148
7286
|
type: 'record',
|
|
7149
7287
|
key: 'any',
|
|
7150
|
-
description:
|
|
7288
|
+
description: "Publishers use sidecar_rkey(curated record AT-URI), so each curated record has one provenance per curator. Readers do not depend on the key: the AppView finds a curated record's provenance by `subject` in the curator's repo.",
|
|
7151
7289
|
record: {
|
|
7152
7290
|
type: 'object',
|
|
7153
7291
|
required: ['subject', 'sources', 'readiness', 'createdAt'],
|
|
@@ -7893,6 +8031,32 @@ export const schemaDict = {
|
|
|
7893
8031
|
type: 'string',
|
|
7894
8032
|
format: 'handle',
|
|
7895
8033
|
},
|
|
8034
|
+
linked: {
|
|
8035
|
+
type: 'array',
|
|
8036
|
+
items: {
|
|
8037
|
+
type: 'ref',
|
|
8038
|
+
ref: 'lex:pub.techne.draft.query.getRecords#linkedHandle',
|
|
8039
|
+
},
|
|
8040
|
+
description: 'The other accounts linked to this one now (the same person; links are public, alsoKnownAs on both DIDs). Absent when none, and while a sign-in method of any account of the person is frozen (a freeze pauses the link). A linked account that is not active or is suspended is left out.',
|
|
8041
|
+
},
|
|
8042
|
+
},
|
|
8043
|
+
},
|
|
8044
|
+
linkedHandle: {
|
|
8045
|
+
type: 'object',
|
|
8046
|
+
required: ['did'],
|
|
8047
|
+
properties: {
|
|
8048
|
+
did: {
|
|
8049
|
+
type: 'string',
|
|
8050
|
+
format: 'did',
|
|
8051
|
+
},
|
|
8052
|
+
handle: {
|
|
8053
|
+
type: 'string',
|
|
8054
|
+
format: 'handle',
|
|
8055
|
+
},
|
|
8056
|
+
displayName: {
|
|
8057
|
+
type: 'string',
|
|
8058
|
+
description: "The linked account's public profile name, when it has one.",
|
|
8059
|
+
},
|
|
7896
8060
|
},
|
|
7897
8061
|
},
|
|
7898
8062
|
resolved: {
|
|
@@ -8314,7 +8478,7 @@ export const schemaDict = {
|
|
|
8314
8478
|
main: {
|
|
8315
8479
|
type: 'record',
|
|
8316
8480
|
key: 'any',
|
|
8317
|
-
description:
|
|
8481
|
+
description: "Publishers use sidecar_rkey(subject AT-URI), so a rule holds one receipt per record, updated when it reprocesses. Readers do not depend on the key: the AppView counts a receipt from the rule's account about the record's current cid.",
|
|
8318
8482
|
record: {
|
|
8319
8483
|
type: 'object',
|
|
8320
8484
|
required: ['subject', 'createdAt'],
|
|
@@ -9271,7 +9435,7 @@ export const schemaDict = {
|
|
|
9271
9435
|
main: {
|
|
9272
9436
|
type: 'record',
|
|
9273
9437
|
key: 'any',
|
|
9274
|
-
description: "Writers use the retired identity's DID as the rkey, so each writer holds at most one per identity.
|
|
9438
|
+
description: "Writers use the retired identity's DID as the rkey, so each writer holds at most one per identity. Enforced by the AppView on read: a retirement at any other key is not counted.",
|
|
9275
9439
|
record: {
|
|
9276
9440
|
type: 'object',
|
|
9277
9441
|
required: ['subject', 'createdAt'],
|
|
@@ -9335,7 +9499,7 @@ export const schemaDict = {
|
|
|
9335
9499
|
main: {
|
|
9336
9500
|
type: 'record',
|
|
9337
9501
|
key: 'any',
|
|
9338
|
-
description: 'One record per pair: publishers put the lower AT-URI in `subject` and use pair_rkey(subject, other) (regenos_lexicons::sidecar), so the reversed pair cannot get a second record.
|
|
9502
|
+
description: 'One record per pair: publishers put the lower AT-URI in `subject` and use pair_rkey(subject, other) (regenos_lexicons::sidecar), so the reversed pair cannot get a second record. Readers do not depend on the key: the AppView walks pairs from both ends, so a reversed or repeated pair is the same link. A pair asserted both sameAs and distinctFrom by writers a reader trusts is a conflict that reader resolves.',
|
|
9339
9503
|
record: {
|
|
9340
9504
|
type: 'object',
|
|
9341
9505
|
required: ['subject', 'other', 'createdAt'],
|
|
@@ -9501,7 +9665,7 @@ export const schemaDict = {
|
|
|
9501
9665
|
main: {
|
|
9502
9666
|
type: 'record',
|
|
9503
9667
|
key: 'any',
|
|
9504
|
-
description: 'Publishers use sidecar_rkey(subject AT-URI), one per record. `
|
|
9668
|
+
description: 'Publishers use sidecar_rkey(subject AT-URI), one per record. Readers mostly find source sidecars by `subject` at any key; the commons curator reads only this key to tell whether a source item is gone upstream.',
|
|
9505
9669
|
record: {
|
|
9506
9670
|
type: 'object',
|
|
9507
9671
|
required: ['subject', 'sourceStatus', 'lastSeenAt', 'createdAt'],
|
|
@@ -9609,7 +9773,7 @@ export const schemaDict = {
|
|
|
9609
9773
|
},
|
|
9610
9774
|
},
|
|
9611
9775
|
},
|
|
9612
|
-
description: 'Publishers use an immutable content-derived rkey: changed credit or license content creates a new record and CID; existing content keys are never rewritten.
|
|
9776
|
+
description: 'Publishers use an immutable content-derived rkey: changed credit or license content creates a new record and CID; existing content keys are never rewritten. Readers do not depend on the key: a sourceAttribution is read only through a strongRef (uri and cid) that names it.',
|
|
9613
9777
|
},
|
|
9614
9778
|
},
|
|
9615
9779
|
},
|
|
@@ -9705,7 +9869,7 @@ export const schemaDict = {
|
|
|
9705
9869
|
main: {
|
|
9706
9870
|
type: 'record',
|
|
9707
9871
|
key: 'any',
|
|
9708
|
-
description:
|
|
9872
|
+
description: "Publishers use sidecar_rkey(subject AT-URI), so a writer's rewrite replaces its one summary. Readers do not depend on the key: the AppView finds summaries by `subject` and its cid and uses the newest from a trusted writer.",
|
|
9709
9873
|
record: {
|
|
9710
9874
|
type: 'object',
|
|
9711
9875
|
required: ['subject', 'text', 'createdAt'],
|
|
@@ -9821,7 +9985,7 @@ export const schemaDict = {
|
|
|
9821
9985
|
main: {
|
|
9822
9986
|
type: 'record',
|
|
9823
9987
|
key: 'any',
|
|
9824
|
-
description: 'Publishers use sidecar_rkey(subject AT-URI), so a writer holds one verdict per record, updated when a new version is judged.
|
|
9988
|
+
description: 'Publishers use sidecar_rkey(subject AT-URI), so a writer holds one verdict per record, updated when a new version is judged. Readers do not depend on the key: any trusted verdict naming the subject counts.',
|
|
9825
9989
|
record: {
|
|
9826
9990
|
type: 'object',
|
|
9827
9991
|
required: ['subject', 'values', 'createdAt'],
|
|
@@ -9859,7 +10023,7 @@ export const schemaDict = {
|
|
|
9859
10023
|
main: {
|
|
9860
10024
|
type: 'record',
|
|
9861
10025
|
key: 'any',
|
|
9862
|
-
description: 'The record key is the subject DID, so an issuer holds at most one per account.
|
|
10026
|
+
description: 'The record key is the subject DID, so an issuer holds at most one per account. Enforced by the AppView on read: a verification at any other key is not counted.',
|
|
9863
10027
|
record: {
|
|
9864
10028
|
type: 'object',
|
|
9865
10029
|
required: ['subject', 'createdAt'],
|
|
@@ -9937,7 +10101,7 @@ export const schemaDict = {
|
|
|
9937
10101
|
defs: {
|
|
9938
10102
|
main: {
|
|
9939
10103
|
type: 'procedure',
|
|
9940
|
-
description: "Let an app read a space: writes the space authority's pub.techne.draft.appAccess for the space and the app, placed in the space. Whoever passes the space type's published manage leg may call it (the owner of a personal space; Facilitator and up for a collective's): the record is written with the authority's pen, which is what the manage leg grants. Approving again is a no-op. A member's request (pub.techne.draft.appAccessRequest) for the same space and app becomes approved. Its only other effect is clearing the request from the approvers' inboxes.",
|
|
10104
|
+
description: "Let an app read a space: writes the space authority's pub.techne.draft.appAccess for the space and the app, placed in the space. Whoever passes the space type's published manage leg may call it (the owner of a personal space itself, never another account linked to it; Facilitator and up for a collective's, a role held by any of the caller's linked accounts included): the record is written into the authority's repo with the authority's pen, which is what the manage leg grants. Approving again is a no-op. A member's request (pub.techne.draft.appAccessRequest) for the same space and app becomes approved. Its only other effect is clearing the request from the approvers' inboxes.",
|
|
9941
10105
|
input: {
|
|
9942
10106
|
encoding: 'application/json',
|
|
9943
10107
|
schema: {
|
|
@@ -9987,7 +10151,7 @@ export const schemaDict = {
|
|
|
9987
10151
|
},
|
|
9988
10152
|
{
|
|
9989
10153
|
name: 'NotAuthorized',
|
|
9990
|
-
description: "The caller does not pass the space type's manage leg.",
|
|
10154
|
+
description: "The caller does not pass the space type's manage leg: for a personal space, the caller is not its owner (an account linked to the owner is refused too).",
|
|
9991
10155
|
},
|
|
9992
10156
|
],
|
|
9993
10157
|
},
|
|
@@ -10227,7 +10391,7 @@ export const schemaDict = {
|
|
|
10227
10391
|
defs: {
|
|
10228
10392
|
main: {
|
|
10229
10393
|
type: 'query',
|
|
10230
|
-
description: "Whether an app may read a space, derived and never stored: `approved` when the authority's pub.techne.draft.appAccess exists, `pending` when a pub.techne.draft.appAccessRequest counts without one, `none` otherwise. A request counts only while its requester can read the space, and for a caller who is not an approver only the caller's own
|
|
10394
|
+
description: "Whether an app may read a space, derived and never stored: `approved` when the authority's pub.techne.draft.appAccess exists, `pending` when a pub.techne.draft.appAccessRequest counts without one, `none` otherwise. A request counts only while its requester can read the space, and for a caller who is not an approver only requests by the caller's own accounts (its person) count (an approver sees every request). Nothing stores a denial. `approvers` are who can approve it, each an account social.scenius.approveAppAccess accepts: the manage-leg holders, or the owner of a personal space itself (never another account linked to it). `requesterIsApprover` says the caller's own account is one of them, so approving is one tap and sends no notification. Approvers are notified of a request only when its requester can read the space and is not an approver. Only a reader of the space may ask.",
|
|
10231
10395
|
parameters: {
|
|
10232
10396
|
type: 'params',
|
|
10233
10397
|
properties: {
|
|
@@ -10482,7 +10646,7 @@ export const schemaDict = {
|
|
|
10482
10646
|
defs: {
|
|
10483
10647
|
main: {
|
|
10484
10648
|
type: 'query',
|
|
10485
|
-
description:
|
|
10649
|
+
description: "What an app gets from the caller, for its sign-in to list: every space the caller's person passes the manage leg of (the caller's own, and its linked accounts' spaces, included) whose authority has approved the app, each with the criteria that approval states for future spaces.",
|
|
10486
10650
|
parameters: {
|
|
10487
10651
|
type: 'params',
|
|
10488
10652
|
properties: {
|