mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 08:26:47 +00:00
Updating documentation
This commit is contained in:
1 parent
0946871ecc
commit
d4d3a99d76
3 files changed
+378
-10
No files matched your search
@@ -70,6 +70,13 @@
|
||||
|
||||
<div class="block">
|
||||
|
||||
<p>
|
||||
<a href="#service-org.signal.chat.purchase.LoginPurchase">
|
||||
<span class="tag" style="min-width: 6em">Service</span>
|
||||
<code>LoginPurchase</code>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<a href="#service-org.signal.chat.purchase.OneTimeDonations">
|
||||
<span class="tag" style="min-width: 6em">Service</span>
|
||||
@@ -242,6 +249,33 @@
|
||||
|
||||
|
||||
|
||||
<p>
|
||||
<a href="#message-org.signal.chat.purchase.CreateLoginReceiptCredentialRequest">
|
||||
<span class="tag" style="min-width: 6em">Message</span>
|
||||
<code>CreateLoginReceiptCredentialRequest</code>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<p>
|
||||
<a href="#message-org.signal.chat.purchase.CreateLoginReceiptCredentialResponse">
|
||||
<span class="tag" style="min-width: 6em">Message</span>
|
||||
<code>CreateLoginReceiptCredentialResponse</code>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<p>
|
||||
<a href="#message-org.signal.chat.purchase.CreateLoginReceiptCredentialResponse.CreateLoginReceiptCredentialResult">
|
||||
<span class="tag" style="min-width: 6em">Message</span>
|
||||
<code>CreateLoginReceiptCredentialResult</code>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<p>
|
||||
<a href="#message-org.signal.chat.purchase.CreatePayPalBoostRequest">
|
||||
<span class="tag" style="min-width: 6em">Message</span>
|
||||
@@ -638,6 +672,42 @@
|
||||
<div>
|
||||
|
||||
|
||||
<h4 class="title is-4 type-heading" id="service-org.signal.chat.purchase.LoginPurchase">
|
||||
<a href="#service-org.signal.chat.purchase.LoginPurchase" title="org.signal.chat.purchase.LoginPurchase">service LoginPurchase</a>
|
||||
|
||||
</h4>
|
||||
|
||||
<div class="block content">
|
||||
<p><p>Service for one-time purchases of logins</p></p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="box">
|
||||
<div class="block">
|
||||
<h5 class="title is-5" id="service-org.signal.chat.purchase.LoginPurchase-CreateLoginReceiptCredential">
|
||||
<a href="#service-org.signal.chat.purchase.LoginPurchase-CreateLoginReceiptCredential">
|
||||
rpc <code>CreateLoginReceiptCredential</code>
|
||||
</a>
|
||||
</h5>
|
||||
Request: <code><a href="org.signal.chat.purchase.html#message-org.signal.chat.purchase.CreateLoginReceiptCredentialRequest"><span title="org.signal.chat.purchase.CreateLoginReceiptCredentialRequest">org.signal.chat.purchase.CreateLoginReceiptCredentialRequest</span>
|
||||
</a></code><br>
|
||||
Response: <code><a href="org.signal.chat.purchase.html#message-org.signal.chat.purchase.CreateLoginReceiptCredentialResponse"><span title="org.signal.chat.purchase.CreateLoginReceiptCredentialResponse">org.signal.chat.purchase.CreateLoginReceiptCredentialResponse</span>
|
||||
</a></code><br>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="block">
|
||||
<p><p>Obtain a ZK receipt credential for a completed one-time login payment.</p>
|
||||
<p>The receipt credential can then be presented at registration</p></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
<h4 class="title is-4 type-heading" id="service-org.signal.chat.purchase.OneTimeDonations">
|
||||
<a href="#service-org.signal.chat.purchase.OneTimeDonations" title="org.signal.chat.purchase.OneTimeDonations">service OneTimeDonations</a>
|
||||
|
||||
@@ -2496,6 +2566,297 @@ depending on which processor was used</p></td>
|
||||
|
||||
|
||||
|
||||
<div class="block">
|
||||
|
||||
|
||||
<h4 class="title is-4 type-heading" id="message-org.signal.chat.purchase.CreateLoginReceiptCredentialRequest">
|
||||
<span>
|
||||
<a href="#message-org.signal.chat.purchase.CreateLoginReceiptCredentialRequest" title="org.signal.chat.purchase.CreateLoginReceiptCredentialRequest">message CreateLoginReceiptCredentialRequest</a>
|
||||
|
||||
</span>
|
||||
|
||||
</h4>
|
||||
|
||||
<div class="block content">
|
||||
|
||||
</div>
|
||||
|
||||
<table class="table is-fullwidth is-hoverable is-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Field</th>
|
||||
<th>Type</th>
|
||||
<th>Description</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>
|
||||
processor
|
||||
</td>
|
||||
<td>
|
||||
<code title="org.signal.chat.purchase.PaymentProvider">
|
||||
|
||||
<a href="org.signal.chat.purchase.html#enum-org.signal.chat.purchase.PaymentProvider"><span title="org.signal.chat.purchase.PaymentProvider">org.signal.chat.purchase.PaymentProvider</span>
|
||||
</a>
|
||||
</code>
|
||||
</td>
|
||||
<td class="content"><p>The payment processor. Currently, only GOOGLE_PLAY_BILLING and
|
||||
APPLE_APP_STORE are supported.</p></td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>2</td>
|
||||
<td>
|
||||
purchase_identifier
|
||||
</td>
|
||||
<td>
|
||||
<code title="string">
|
||||
|
||||
<span>string</span>
|
||||
</code>
|
||||
</td>
|
||||
<td class="content"><p>The identifier of a completed purchase for a signal login within the
|
||||
payment provider</p></td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>3</td>
|
||||
<td>
|
||||
receipt_credential_request
|
||||
</td>
|
||||
<td>
|
||||
<code title="bytes">
|
||||
|
||||
<span>bytes</span>
|
||||
</code>
|
||||
</td>
|
||||
<td class="content"><p>The receipt credential request. Subsequent retries to create a login
|
||||
credential for the same purchase_identifier must use an identical
|
||||
receipt_credential_request.</p>
|
||||
<p>Callers must validate that the generated receipt credential has the
|
||||
following properties:</p>
|
||||
<ul>
|
||||
<li>Level == 300 (The login level)</li>
|
||||
<li>ExpirationTime % 86400 == 0</li>
|
||||
<li>ExpirationTime == PurchaseTime + (5 * 366 * 86400) +/- (7 * 86400)</li>
|
||||
</ul></td>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="block">
|
||||
|
||||
|
||||
<h4 class="title is-4 type-heading" id="message-org.signal.chat.purchase.CreateLoginReceiptCredentialResponse">
|
||||
<span>
|
||||
<a href="#message-org.signal.chat.purchase.CreateLoginReceiptCredentialResponse" title="org.signal.chat.purchase.CreateLoginReceiptCredentialResponse">message CreateLoginReceiptCredentialResponse</a>
|
||||
|
||||
</span>
|
||||
|
||||
</h4>
|
||||
|
||||
<div class="block content">
|
||||
|
||||
</div>
|
||||
|
||||
<table class="table is-fullwidth is-hoverable is-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Field</th>
|
||||
<th>Type</th>
|
||||
<th>Description</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
|
||||
|
||||
|
||||
<tr class="nohover"><td style="border: 0px"></td></tr>
|
||||
<tr class="nohover">
|
||||
<td class="oneof-heading" colspan="4">
|
||||
<div class="oneof-heading">
|
||||
<strong>oneof response</strong>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
1
|
||||
</td>
|
||||
<td>
|
||||
result
|
||||
</td>
|
||||
<td>
|
||||
<code title="org.signal.chat.purchase.CreateLoginReceiptCredentialResponse.CreateLoginReceiptCredentialResult">
|
||||
|
||||
<a href="org.signal.chat.purchase.html#message-org.signal.chat.purchase.CreateLoginReceiptCredentialResponse.CreateLoginReceiptCredentialResult"><span title="org.signal.chat.purchase.CreateLoginReceiptCredentialResponse.CreateLoginReceiptCredentialResult">org.signal.chat.purchase.CreateLoginReceiptCredentialResponse.CreateLoginReceiptCredentialResult</span>
|
||||
</a>
|
||||
</code>
|
||||
</td>
|
||||
<td class="content"></td>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
2
|
||||
</td>
|
||||
<td>
|
||||
payment_still_processing
|
||||
</td>
|
||||
<td>
|
||||
<code title="org.signal.chat.errors.FailedPrecondition">
|
||||
|
||||
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
||||
</a>
|
||||
</code>
|
||||
</td>
|
||||
<td class="content"><p>The purchase is still pending with the payment provider. The client may retry later.</p></td>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
3
|
||||
</td>
|
||||
<td>
|
||||
payment_required
|
||||
</td>
|
||||
<td>
|
||||
<code title="org.signal.chat.purchase.PaymentRequired">
|
||||
|
||||
<a href="org.signal.chat.purchase.html#message-org.signal.chat.purchase.PaymentRequired"><span title="org.signal.chat.purchase.PaymentRequired">org.signal.chat.purchase.PaymentRequired</span>
|
||||
</a>
|
||||
</code>
|
||||
</td>
|
||||
<td class="content"><p>The purchase did not complete successfully.</p></td>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
4
|
||||
</td>
|
||||
<td>
|
||||
payment_not_found
|
||||
</td>
|
||||
<td>
|
||||
<code title="org.signal.chat.errors.NotFound">
|
||||
|
||||
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.NotFound"><span title="org.signal.chat.errors.NotFound">org.signal.chat.errors.NotFound</span>
|
||||
</a>
|
||||
</code>
|
||||
</td>
|
||||
<td class="content"><p>The payment provider has no purchase with the provided purchase_identifier</p></td>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
5
|
||||
</td>
|
||||
<td>
|
||||
receipt_already_issued
|
||||
</td>
|
||||
<td>
|
||||
<code title="org.signal.chat.errors.FailedPrecondition">
|
||||
|
||||
<a href="org.signal.chat.errors.html#message-org.signal.chat.errors.FailedPrecondition"><span title="org.signal.chat.errors.FailedPrecondition">org.signal.chat.errors.FailedPrecondition</span>
|
||||
</a>
|
||||
</code>
|
||||
</td>
|
||||
<td class="content"><p>The purchase was already redeemed for a receipt credential, but with a different receipt credential request</p></td>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="block">
|
||||
|
||||
|
||||
<h4 class="title is-4 type-heading" id="message-org.signal.chat.purchase.CreateLoginReceiptCredentialResponse.CreateLoginReceiptCredentialResult">
|
||||
<span>
|
||||
<a href="#message-org.signal.chat.purchase.CreateLoginReceiptCredentialResponse.CreateLoginReceiptCredentialResult" title="org.signal.chat.purchase.CreateLoginReceiptCredentialResponse.CreateLoginReceiptCredentialResult">message CreateLoginReceiptCredentialResult</a>
|
||||
|
||||
<br /><span style="font-size: 0.7em; font-weight: normal">(Nested in <a href="org.signal.chat.purchase.html#message-org.signal.chat.purchase.CreateLoginReceiptCredentialResponse"><span title="org.signal.chat.purchase.CreateLoginReceiptCredentialResponse">org.signal.chat.purchase.CreateLoginReceiptCredentialResponse</span>
|
||||
</a>)</span>
|
||||
|
||||
</span>
|
||||
|
||||
</h4>
|
||||
|
||||
<div class="block content">
|
||||
|
||||
</div>
|
||||
|
||||
<table class="table is-fullwidth is-hoverable is-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Field</th>
|
||||
<th>Type</th>
|
||||
<th>Description</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>
|
||||
receipt_credential_response
|
||||
</td>
|
||||
<td>
|
||||
<code title="bytes">
|
||||
|
||||
<span>bytes</span>
|
||||
</code>
|
||||
</td>
|
||||
<td class="content"></td>
|
||||
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="block">
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -60,8 +60,8 @@
|
||||
|
||||
<div id="main-content" class="container mb-6">
|
||||
<script>
|
||||
const searchDocuments = {"org.signal.chat.account": {"package": "org.signal.chat.account", "url": "org.signal.chat.account.html", "content": "org.signal.chat.account\n\norg\nsignal\nchat\naccount\nAccounts\nProvides methods for working with Signal accounts.\nGetAccountIdentity\nReturns basic identifiers for the authenticated account.\norg\nsignal\nchat\naccount\nGetAccountIdentityRequest\norg\nsignal\nchat\naccount\nGetAccountIdentityResponse\nGetEntitlements\nReturns entitlements for the authenticated account.\norg\nsignal\nchat\naccount\nGetEntitlementsRequest\norg\nsignal\nchat\naccount\nGetEntitlementsResponse\nDeleteAccount\nDeletes the authenticated account, purging all associated data in the\n process.\norg\nsignal\nchat\naccount\nDeleteAccountRequest\norg\nsignal\nchat\naccount\nDeleteAccountResponse\nSetRegistrationLock\nSets the registration lock secret for the authenticated account. To remove\n a registration lock, please use `ClearRegistrationLock`.\norg\nsignal\nchat\naccount\nSetRegistrationLockRequest\norg\nsignal\nchat\naccount\nSetRegistrationLockResponse\nClearRegistrationLock\nRemoves any registration lock credentials from the authenticated account.\norg\nsignal\nchat\naccount\nClearRegistrationLockRequest\norg\nsignal\nchat\naccount\nClearRegistrationLockResponse\nReserveUsernameHash\nAttempts to reserve one of multiple given username hashes. Reserved\n usernames may be claimed later via `ConfirmUsernameHash`.\norg\nsignal\nchat\naccount\nReserveUsernameHashRequest\norg\nsignal\nchat\naccount\nReserveUsernameHashResponse\nConfirmUsernameHash\nSets the username hash/encrypted username to a previously-reserved value\n (see `ReserveUsernameHash`).\norg\nsignal\nchat\naccount\nConfirmUsernameHashRequest\norg\nsignal\nchat\naccount\nConfirmUsernameHashResponse\nDeleteUsernameHash\nClears the current username hash, ciphertext, and link for the\n authenticated user.\norg\nsignal\nchat\naccount\nDeleteUsernameHashRequest\norg\nsignal\nchat\naccount\nDeleteUsernameHashResponse\nSetUsernameLink\nAssociates the given username ciphertext with the account, replacing any\n previously stored ciphertext. A new link handle will optionally be created,\n and the link handle to use will be returned in any event.\norg\nsignal\nchat\naccount\nSetUsernameLinkRequest\norg\nsignal\nchat\naccount\nSetUsernameLinkResponse\nDeleteUsernameLink\nClears any username link associated with the authenticated account.\norg\nsignal\nchat\naccount\nDeleteUsernameLinkRequest\norg\nsignal\nchat\naccount\nDeleteUsernameLinkResponse\nConfigureUnidentifiedAccess\nConfigures \"unidentified access\" keys and preferences for the authenticated\n account. Other users permitted to interact with this account anonymously\n may take actions like fetching pre-keys and profiles for this account or\n sending sealed-sender messages without providing identifying credentials.\norg\nsignal\nchat\naccount\nConfigureUnidentifiedAccessRequest\norg\nsignal\nchat\naccount\nConfigureUnidentifiedAccessResponse\nSetDiscoverableByPhoneNumber\nSets whether the authenticated account may be discovered by phone number\n via the Contact Discovery Service (CDS).\norg\nsignal\nchat\naccount\nSetDiscoverableByPhoneNumberRequest\norg\nsignal\nchat\naccount\nSetDiscoverableByPhoneNumberResponse\nSetRegistrationRecoveryPassword\nSets the registration recovery password for the authenticated account.\norg\nsignal\nchat\naccount\nSetRegistrationRecoveryPasswordRequest\norg\nsignal\nchat\naccount\nSetRegistrationRecoveryPasswordResponse\nSetZkCredentialKey\nStore a public key used to issue and verify zero-knowledge (anonymous) credentials for the account.\norg\nsignal\nchat\naccount\nSetZkCredentialKeyRequest\norg\nsignal\nchat\naccount\nSetZkCredentialKeyResponse\nChangeNumber\nChanges the phone number associated with the authenticated account.\norg\nsignal\nchat\naccount\nChangeNumberRequest\norg\nsignal\nchat\naccount\nChangeNumberResponse\nGetAccountDataReport\nProduces a report of non-ephemeral account data stored by the service\norg\nsignal\nchat\naccount\nGetAccountDataReportRequest\norg\nsignal\nchat\naccount\nGetAccountDataReportResponse\nGetCapabilities\nGets the capabilities for the authenticated account.\norg\nsignal\nchat\naccount\nGetCapabilitiesRequest\norg\nsignal\nchat\naccount\nGetCapabilitiesResponse\norg\nsignal\nchat\naccount\nAccountsAnonymous\nProvides methods for looking up Signal accounts. Callers must not provide\n identifying credentials when calling methods in this service.\nCheckAccountExistence\nChecks whether an account with the given service identifier exists.\norg\nsignal\nchat\naccount\nCheckAccountExistenceRequest\norg\nsignal\nchat\naccount\nCheckAccountExistenceResponse\nLookupUsernameHash\nFinds the service identifier of the account associated with the given\n username hash.\norg\nsignal\nchat\naccount\nLookupUsernameHashRequest\norg\nsignal\nchat\naccount\nLookupUsernameHashResponse\nLookupUsernameLink\nFinds the encrypted uLine truncated
|
||||
const searchIndex = {"version": "2.3.9", "fields": ["content", "url"], "fieldVectors": [["content/org.signal.chat.account", [0, 1.602, 1, 0.167, 2, 0.167, 3, 0.167, 4, 1.197, 5, 0.362, 6, 0.765, 7, 0.695, 8, 1.602, 9, 0.865, 10, 1.602, 11, 1.573, 12, 1.264, 13, 2.5, 14, 2.5, 15, 1.602, 16, 2.469, 17, 2.5, 18, 3.476, 19, 1.602, 20, 0.922, 21, 1.602, 22, 1.129, 23, 2.002, 24, 1.078, 25, 2.5, 26, 2.5, 27, 1.602, 28, 0.948, 29, 2.892, 30, 3.562, 31, 2.339, 32, 1.44, 33, 1.602, 34, 0.518, 35, 2.5, 36, 2.5, 37, 2.5, 38, 1.148, 39, 2.5, 40, 2.5, 41, 2.5, 42, 2.007, 43, 4.173, 44, 1.016, 45, 1.078, 46, 1.925, 47, 2.636, 48, 2.373, 49, 3.076, 50, 1.286, 51, 1.245, 52, 2.5, 53, 2.5, 54, 2.5, 55, 1.602, 56, 1.246, 57, 0.994, 58, 1.078, 59, 2.5, 60, 3.076, 61, 1.602, 62, 2.469, 63, 1.085, 64, 2.808, 65, 2.132, 66, 1.513, 67, 2.5, 68, 2.5, 69, 1.602, 70, 1.078, 71, 2.002, 72, 1.264, 73, 3.161, 74, 0.695, 75, 1.246, 76, 1.602, 77, 2.5, 78, 2.5, 79, 1.602, 80, 2.5, 81, 2.5, 82, 1.602, 83, 1.533, 84, 2.403, 85, 1.58, 86, 1.281, 87, 1.286, 88, 1.44, 89, 2.79, 90, 1.636, 91, 1.602, 92, 1.286, 93, 1.078, 94, 1.732, 95, 1.683, 96, 1.874, 97, 0.798, 98, 0.798, 99, 1.083, 100, 1.246, 101, 2.5, 102, 2.5, 103, 1.602, 104, 1.165, 105, 3.076, 106, 2.341, 107, 1.648, 108, 2.5, 109, 2.5, 110, 1.552, 111, 2.5, 112, 2.5, 113, 2.5, 114, 1.602, 115, 2.469, 116, 2.171, 117, 2.5, 118, 2.5, 119, 1.602, 120, 1.771, 121, 0.695, 122, 1.44, 123, 2.07, 124, 2.007, 125, 2.5, 126, 2.5, 127, 1.602, 128, 0.947, 129, 3.77, 130, 2.5, 131, 1.602, 132, 1.286, 133, 3.076, 134, 1.44, 135, 1.286, 136, 2.5, 137, 2.5, 138, 2.5, 139, 1.683, 140, 3.643, 141, 2.5, 142, 2.5, 143, 1.602, 144, 1.286, 145, 0.695, 146, 1.016, 147, 0.46, 148, 1.602, 149, 0.798, 150, 1.991, 151, 2.5, 152, 2.5, 153, 1.602, 154, 3.476, 155, 2.5, 156, 2.5, 157, 1.602, 158, 1.335, 159, 2.5, 160, 2.5, 161, 1.602, 162, 2.469, 163, 2.339, 164, 1.44, 165, 2.5, 166, 2.5, 167, 1.602, 168, 2.07, 169, 2.339, 170, 2.5, 171, 1.335, 172, 0.947, 173, 0.826, 174, 1.602, 175, 1.078, 176, 0.839, 177, 1.811, 178, 0.922, 179, 0.922, 180, 0.922, 181, 1.286, 182, 0.922, 183, 1.078, 184, 1.148, 185, 1.602, 186, 2.339, 187, 1.602, 188, 2.5, 189, 1.602, 190, 1.58, 191, 0.922, 192, 1.602, 193, 1.286, 194, 2.5, 195, 2.179, 196, 1.683, 197, 1.078, 198, 1.286, 199, 1.991, 200, 0.922, 201, 1.078, 202, 1.602, 203, 1.683, 204, 1.078, 205, 0.999, 206, 2.5, 207, 1.246, 208, 1.44, 209, 0.631, 210, 1.602, 211, 1.286, 212, 1.602, 213, 0.922, 214, 1.286, 215, 1.602, 216, 2.469, 217, 0.46, 218, 1.286, 219, 2.007, 220, 2.5, 221, 1.602, 222, 1.286, 223, 1.286, 224, 2.007, 225, 1.602, 226, 0.922, 227, 1.602, 228, 1.602, 229, 1.602, 230, 1.602, 231, 0.695, 232, 0.606, 233, 1.602, 234, 1.683, 235, 1.602, 236, 1.335, 237, 1.078, 238, 1.165, 239, 1.771, 240, 1.44, 241, 0.529, 242, 1.286, 243, 2.07, 244, 0.743, 245, 1.44, 246, 1.602, 247, 2.07, 248, 2.79, 249, 1.602, 250, 1.286, 251, 0.865, 252, 1.286, 253, 3.076, 254, 1.286, 255, 1.602, 256, 1.286, 257, 1.286, 258, 1.602, 259, 1.286, 260, 1.602, 261, 0.798, 262, 0.798, 263, 2.007, 264, 1.602, 265, 2.5, 266, 1.602, 267, 0.798, 268, 1.602, 269, 2.469, 270, 0.534, 271, 1.286, 272, 1.602, 273, 1.602, 274, 1.602, 275, 2.007, 276, 2.007, 277, 3.076, 278, 1.602, 279, 1.078, 280, 1.085, 281, 0.922, 282, 0.695, 283, 0.922, 284, 0.529, 285, 2.469, 286, 0.922, 287, 1.085, 288, 1.286, 289, 1.286, 290, 1.602, 291, 1.286, 292, 1.085, 293, 1.602, 294, 1.286, 295, 1.602, 296, 1.602, 297, 1.602, 298, 0.398, 299, 1.078, 300, 0.922, 301, 0.606, 302, 1.602, 303, 1.602, 304, 1.602, 305, 0.798, 306, 1.683, 307, 0.922, 308, 0.398, 309, 1.602, 310, 1.602, 311, 0.922, 312, 1.602, 313, 1.078, 314, 1.602, 315, 1.602, 316, 0.922, 317, 1.078, 318, 1.602, 319, 1.078, 320, 0.606, 321, 0.922, 322, 1.602, 323, 1.602, 324, 1.602, 325, 1.286, 326, 1.44, 327, 1.602, 328, 1.602, 329, 1.078, 330, 1.602, 331, 1.602, 332, 0.922, 333, 1.602]], ["url/org.signal.chat.account", [334, 2.59]], ["content/org.signal.chat.attachments", [1, 0.162, 2, 0.162, 3, 0.162, 5, 0.282, 34, 0.606, 72, 0.945, 107, 1.255, 128, 1.438, 176, 0.689, 209, 0.827, 241, 1.506, 251, 0.945, 335, 3.798, 336, 3.139, 337, 3.049, 338, 2.726, 339, 3.029, 340, 3.067, 341, 2.555, 342, 3.659, 343, 3.659, 344, 3.798, 345, 5.318, 346, 5.18, 347, 4.558, 348, 4.558, 349, 3.798, 350, 3.798, 351, 3.798, 352, 3.798, 353, 0.945, 354, 3.798, 355, 3.798, 356, 3.049, 357, 2.187, 358, 3.049, 359, 3.067, 360, 1.893, 361, 3.049, 362, 3.049, 363, 2.812, 364, 3.049, 365, 2.625, 366, 1.893, 367, 3.049, 368, 3.049, 369, 3.049]], ["url/org.signal.chat.attachments", [370, 2.59]], ["content/org.signal.chat.backup", [1, 0.165, 2, 0.165, 3, 0.165, 4, 0.974, 5, 0.368, 9, 0.993, 12, 1.225, 20, 2.052, 22, 1.114, 23, 1.642, 28, 1.015, 31, 0.96, 32, 1.314, 34, 0.601, 38, 1.521, 44, 0.754, 47, 1.137, 51, 1.177, 56, 1.894, 57, 0.811, 63, 1.237, 65, 0.99, 71, 2.888, 72, 0.355, 85, 0.54, 86, 1.311, 89, 1.145, 90, 1.414, 93, 0.96, 99, 1.287, 107, 0.471, 110, 1.177, 116, 1.314, 120, 2.872Line truncated
|
||||
const searchDocuments = {"org.signal.chat.account": {"package": "org.signal.chat.account", "url": "org.signal.chat.account.html", "content": "org.signal.chat.account\n\norg\nsignal\nchat\naccount\nAccounts\nProvides methods for working with Signal accounts.\nGetAccountIdentity\nReturns basic identifiers for the authenticated account.\norg\nsignal\nchat\naccount\nGetAccountIdentityRequest\norg\nsignal\nchat\naccount\nGetAccountIdentityResponse\nGetEntitlements\nReturns entitlements for the authenticated account.\norg\nsignal\nchat\naccount\nGetEntitlementsRequest\norg\nsignal\nchat\naccount\nGetEntitlementsResponse\nDeleteAccount\nDeletes the authenticated account, purging all associated data in the\n process.\norg\nsignal\nchat\naccount\nDeleteAccountRequest\norg\nsignal\nchat\naccount\nDeleteAccountResponse\nSetRegistrationLock\nSets the registration lock secret for the authenticated account. To remove\n a registration lock, please use `ClearRegistrationLock`.\norg\nsignal\nchat\naccount\nSetRegistrationLockRequest\norg\nsignal\nchat\naccount\nSetRegistrationLockResponse\nClearRegistrationLock\nRemoves any registration lock credentials from the authenticated account.\norg\nsignal\nchat\naccount\nClearRegistrationLockRequest\norg\nsignal\nchat\naccount\nClearRegistrationLockResponse\nReserveUsernameHash\nAttempts to reserve one of multiple given username hashes. Reserved\n usernames may be claimed later via `ConfirmUsernameHash`.\norg\nsignal\nchat\naccount\nReserveUsernameHashRequest\norg\nsignal\nchat\naccount\nReserveUsernameHashResponse\nConfirmUsernameHash\nSets the username hash/encrypted username to a previously-reserved value\n (see `ReserveUsernameHash`).\norg\nsignal\nchat\naccount\nConfirmUsernameHashRequest\norg\nsignal\nchat\naccount\nConfirmUsernameHashResponse\nDeleteUsernameHash\nClears the current username hash, ciphertext, and link for the\n authenticated user.\norg\nsignal\nchat\naccount\nDeleteUsernameHashRequest\norg\nsignal\nchat\naccount\nDeleteUsernameHashResponse\nSetUsernameLink\nAssociates the given username ciphertext with the account, replacing any\n previously stored ciphertext. A new link handle will optionally be created,\n and the link handle to use will be returned in any event.\norg\nsignal\nchat\naccount\nSetUsernameLinkRequest\norg\nsignal\nchat\naccount\nSetUsernameLinkResponse\nDeleteUsernameLink\nClears any username link associated with the authenticated account.\norg\nsignal\nchat\naccount\nDeleteUsernameLinkRequest\norg\nsignal\nchat\naccount\nDeleteUsernameLinkResponse\nConfigureUnidentifiedAccess\nConfigures \"unidentified access\" keys and preferences for the authenticated\n account. Other users permitted to interact with this account anonymously\n may take actions like fetching pre-keys and profiles for this account or\n sending sealed-sender messages without providing identifying credentials.\norg\nsignal\nchat\naccount\nConfigureUnidentifiedAccessRequest\norg\nsignal\nchat\naccount\nConfigureUnidentifiedAccessResponse\nSetDiscoverableByPhoneNumber\nSets whether the authenticated account may be discovered by phone number\n via the Contact Discovery Service (CDS).\norg\nsignal\nchat\naccount\nSetDiscoverableByPhoneNumberRequest\norg\nsignal\nchat\naccount\nSetDiscoverableByPhoneNumberResponse\nSetRegistrationRecoveryPassword\nSets the registration recovery password for the authenticated account.\norg\nsignal\nchat\naccount\nSetRegistrationRecoveryPasswordRequest\norg\nsignal\nchat\naccount\nSetRegistrationRecoveryPasswordResponse\nSetZkCredentialKey\nStore a public key used to issue and verify zero-knowledge (anonymous) credentials for the account.\norg\nsignal\nchat\naccount\nSetZkCredentialKeyRequest\norg\nsignal\nchat\naccount\nSetZkCredentialKeyResponse\nChangeNumber\nChanges the phone number associated with the authenticated account.\norg\nsignal\nchat\naccount\nChangeNumberRequest\norg\nsignal\nchat\naccount\nChangeNumberResponse\nGetAccountDataReport\nProduces a report of non-ephemeral account data stored by the service\norg\nsignal\nchat\naccount\nGetAccountDataReportRequest\norg\nsignal\nchat\naccount\nGetAccountDataReportResponse\nGetCapabilities\nGets the capabilities for the authenticated account.\norg\nsignal\nchat\naccount\nGetCapabilitiesRequest\norg\nsignal\nchat\naccount\nGetCapabilitiesResponse\norg\nsignal\nchat\naccount\nAccountsAnonymous\nProvides methods for looking up Signal accounts. Callers must not provide\n identifying credentials when calling methods in this service.\nCheckAccountExistence\nChecks whether an account with the given service identifier exists.\norg\nsignal\nchat\naccount\nCheckAccountExistenceRequest\norg\nsignal\nchat\naccount\nCheckAccountExistenceResponse\nLookupUsernameHash\nFinds the service identifier of the account associated with the given\n username hash.\norg\nsignal\nchat\naccount\nLookupUsernameHashRequest\norg\nsignal\nchat\naccount\nLookupUsernameHashResponse\nLookupUsernameLink\nFinds the encrypted uLine truncated
|
||||
const searchIndex = {"version": "2.3.9", "fields": ["content", "url"], "fieldVectors": [["content/org.signal.chat.account", [0, 1.616, 1, 0.167, 2, 0.167, 3, 0.167, 4, 1.198, 5, 0.362, 6, 0.769, 7, 0.701, 8, 1.616, 9, 0.869, 10, 1.616, 11, 1.576, 12, 1.265, 13, 2.517, 14, 2.517, 15, 1.616, 16, 2.483, 17, 2.517, 18, 3.492, 19, 1.616, 20, 0.93, 21, 1.616, 22, 1.132, 23, 2.011, 24, 1.087, 25, 2.517, 26, 2.517, 27, 1.616, 28, 0.951, 29, 2.507, 30, 3.572, 31, 2.35, 32, 1.45, 33, 1.616, 34, 0.52, 35, 2.517, 36, 2.517, 37, 2.517, 38, 1.152, 39, 2.517, 40, 2.517, 41, 2.517, 42, 2.021, 43, 4.187, 44, 1.022, 45, 1.087, 46, 1.931, 47, 2.638, 48, 2.378, 49, 3.093, 50, 1.297, 51, 1.25, 52, 2.517, 53, 2.517, 54, 2.517, 55, 1.616, 56, 1.255, 57, 0.997, 58, 1.087, 59, 2.517, 60, 3.093, 61, 1.616, 62, 2.483, 63, 1.092, 64, 2.817, 65, 2.135, 66, 1.518, 67, 2.517, 68, 2.517, 69, 1.616, 70, 1.087, 71, 2.011, 72, 1.265, 73, 3.167, 74, 0.701, 75, 1.255, 76, 1.616, 77, 2.517, 78, 2.517, 79, 1.616, 80, 2.517, 81, 2.517, 82, 1.616, 83, 1.542, 84, 2.411, 85, 1.585, 86, 1.283, 87, 1.297, 88, 1.45, 89, 2.803, 90, 1.642, 91, 1.616, 92, 1.297, 93, 1.087, 94, 1.74, 95, 1.694, 96, 1.879, 97, 0.805, 98, 0.805, 99, 1.088, 100, 1.255, 101, 2.517, 102, 2.517, 103, 1.616, 104, 1.171, 105, 3.093, 106, 2.346, 107, 1.651, 108, 2.517, 109, 2.517, 110, 1.555, 111, 2.517, 112, 2.517, 113, 2.517, 114, 1.616, 115, 2.483, 116, 2.18, 117, 2.517, 118, 2.517, 119, 1.616, 120, 1.781, 121, 0.701, 122, 1.45, 123, 2.081, 124, 2.021, 125, 2.517, 126, 2.517, 127, 1.616, 128, 0.953, 129, 3.785, 130, 2.517, 131, 1.616, 132, 1.297, 133, 3.093, 134, 1.45, 135, 1.297, 136, 2.517, 137, 2.517, 138, 2.517, 139, 1.694, 140, 3.652, 141, 2.517, 142, 2.517, 143, 1.616, 144, 1.297, 145, 0.701, 146, 1.022, 147, 0.464, 148, 1.616, 149, 0.805, 150, 1.998, 151, 2.517, 152, 2.517, 153, 1.616, 154, 3.492, 155, 2.517, 156, 2.517, 157, 1.616, 158, 1.342, 159, 2.517, 160, 2.517, 161, 1.616, 162, 2.483, 163, 2.35, 164, 1.45, 165, 2.517, 166, 2.517, 167, 1.616, 168, 2.081, 169, 2.35, 170, 2.517, 171, 1.342, 172, 0.953, 173, 0.832, 174, 1.616, 175, 1.087, 176, 0.841, 177, 1.817, 178, 0.93, 179, 0.93, 180, 0.93, 181, 1.297, 182, 0.93, 183, 1.087, 184, 1.152, 185, 1.616, 186, 2.35, 187, 1.616, 188, 2.517, 189, 1.616, 190, 1.383, 191, 0.93, 192, 1.616, 193, 1.297, 194, 2.517, 195, 2.182, 196, 1.694, 197, 1.087, 198, 1.297, 199, 1.998, 200, 0.93, 201, 1.087, 202, 1.616, 203, 1.694, 204, 1.087, 205, 1.004, 206, 2.517, 207, 1.255, 208, 1.45, 209, 0.634, 210, 1.616, 211, 1.297, 212, 1.616, 213, 0.93, 214, 1.297, 215, 1.616, 216, 2.483, 217, 0.464, 218, 1.297, 219, 2.021, 220, 2.517, 221, 1.616, 222, 1.297, 223, 1.297, 224, 2.021, 225, 1.616, 226, 0.93, 227, 1.616, 228, 1.616, 229, 1.616, 230, 1.616, 231, 0.701, 232, 0.612, 233, 1.616, 234, 1.694, 235, 1.616, 236, 1.342, 237, 1.087, 238, 1.171, 239, 1.781, 240, 1.45, 241, 0.534, 242, 1.297, 243, 2.081, 244, 0.746, 245, 1.45, 246, 1.616, 247, 2.081, 248, 2.803, 249, 1.616, 250, 1.297, 251, 0.869, 252, 1.297, 253, 3.093, 254, 1.297, 255, 1.616, 256, 1.297, 257, 1.297, 258, 1.616, 259, 1.297, 260, 1.616, 261, 0.805, 262, 0.701, 263, 2.021, 264, 1.616, 265, 2.517, 266, 1.616, 267, 0.805, 268, 1.616, 269, 2.483, 270, 0.538, 271, 1.297, 272, 1.616, 273, 1.616, 274, 1.616, 275, 2.021, 276, 2.021, 277, 3.093, 278, 1.616, 279, 1.087, 280, 1.092, 281, 0.93, 282, 0.701, 283, 0.93, 284, 0.534, 285, 2.483, 286, 0.93, 287, 1.092, 288, 1.297, 289, 1.297, 290, 1.616, 291, 1.297, 292, 1.092, 293, 1.616, 294, 1.297, 295, 1.616, 296, 1.616, 297, 1.616, 298, 0.402, 299, 1.087, 300, 0.93, 301, 0.612, 302, 1.616, 303, 1.616, 304, 1.616, 305, 0.805, 306, 1.694, 307, 0.93, 308, 0.402, 309, 1.616, 310, 1.616, 311, 0.93, 312, 1.616, 313, 1.087, 314, 1.616, 315, 1.616, 316, 0.93, 317, 1.087, 318, 1.616, 319, 1.087, 320, 0.612, 321, 0.93, 322, 1.616, 323, 1.616, 324, 1.616, 325, 1.297, 326, 1.45, 327, 1.616, 328, 1.616, 329, 1.087, 330, 1.616, 331, 1.616, 332, 0.93, 333, 1.616]], ["url/org.signal.chat.account", [334, 2.59]], ["content/org.signal.chat.attachments", [1, 0.163, 2, 0.163, 3, 0.163, 5, 0.283, 34, 0.607, 72, 0.946, 107, 1.257, 128, 1.441, 176, 0.69, 209, 0.828, 241, 1.507, 251, 0.946, 335, 3.805, 336, 3.14, 337, 3.054, 338, 2.727, 339, 3.03, 340, 3.07, 341, 2.56, 342, 3.663, 343, 3.663, 344, 3.805, 345, 5.32, 346, 5.183, 347, 4.563, 348, 4.563, 349, 3.805, 350, 3.805, 351, 3.805, 352, 3.805, 353, 0.946, 354, 3.805, 355, 3.805, 356, 3.054, 357, 1.896, 358, 3.054, 359, 3.07, 360, 1.896, 361, 3.054, 362, 3.054, 363, 2.815, 364, 3.054, 365, 2.628, 366, 1.896, 367, 3.054, 368, 3.054, 369, 3.054]], ["url/org.signal.chat.attachments", [370, 2.59]], ["content/org.signal.chat.backup", [1, 0.165, 2, 0.165, 3, 0.165, 4, 0.977, 5, 0.369, 9, 0.996, 12, 1.227, 20, 2.062, 22, 1.117, 23, 1.652, 28, 1.017, 31, 0.968, 32, 1.323, 34, 0.603, 38, 1.522, 44, 0.759, 47, 1.145, 51, 1.183, 56, 1.902, 57, 0.815, 63, 1.245, 65, 0.997, 71, 2.893, 72, 0.358, 85, 0.545, 86, 1.313, 89,Line truncated
|
||||
|
||||
const idx = lunr.Index.load(searchIndex);
|
||||
|
||||
|
||||
@@ -2443,12 +2443,19 @@ paths:
|
||||
tags:
|
||||
- LoginPurchase
|
||||
summary: Create a receipt credential for a completed one-time login purchase
|
||||
description: |
|
||||
Verify a completed one-time purchase with the payment provider and issue a receipt credential that can be
|
||||
redeemed for a login.
|
||||
description: |2
|
||||
Verify a completed one-time purchase with the payment provider and issue a receipt credential that can be
|
||||
redeemed for a login.
|
||||
|
||||
This endpoint must be called on an unauthenticated connection. Retries for the same purchaseIdentifier MUST
|
||||
use the same receiptCredentialRequest.
|
||||
This endpoint must be called on an unauthenticated connection. Retries for the same purchaseIdentifier MUST
|
||||
use the same receiptCredentialRequest.
|
||||
|
||||
Callers must validate that the generated receipt credential has the
|
||||
following properties:
|
||||
|
||||
- Level == 300 (The login level)
|
||||
- ExpirationTime % 86400 == 0
|
||||
- ExpirationTime == PurchaseTime + (5 * 366 * 86400) +/- (7 * 86400)
|
||||
operationId: createLoginReceiptCredential
|
||||
requestBody:
|
||||
content:
|
||||
@@ -5844,12 +5851,12 @@ components:
|
||||
DonationPermit:
|
||||
type: object
|
||||
properties:
|
||||
spendId:
|
||||
type: string
|
||||
format: byte
|
||||
expiration:
|
||||
type: string
|
||||
format: date-time
|
||||
spendId:
|
||||
type: string
|
||||
format: byte
|
||||
internalContentsForJNI:
|
||||
type: string
|
||||
format: byte
|
||||
|
||||
Reference in new issue
Block a user