mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 12:16:47 +00:00
1089 lines
28 KiB
HTML
1089 lines
28 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Protobuf module documentation</title>
|
|
<link rel="stylesheet" href="static/mystyles.css" />
|
|
<script src="static/fontawesome.js"></script>
|
|
<script src="static/lunr.js"></script>
|
|
<script src="static/theme.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<nav class="level pt-6 mb-5 pb-2 bottom-border">
|
|
<div class="level-left">
|
|
<p class="level-item has-text-centered is-size-3 has-text-weight-medium">
|
|
<a class="link is-info" href="index.html">
|
|
Protobuf module documentation
|
|
</a>
|
|
</p>
|
|
</div>
|
|
|
|
<div class="level-right">
|
|
|
|
<form action="search.html" class="mr-2 has-text-centered">
|
|
<input type="text" name="query" class="input mr-3 navbar-search-query-input" placeholder="Search">
|
|
<input type="submit" class="button is-primary mr-5" value="Search" />
|
|
</form>
|
|
|
|
|
|
<p class="level-item has-text-centered is-size-5">
|
|
<a href="" class="link is-info mr-5" target="_blank">
|
|
|
|
<span>Source</span>
|
|
</a>
|
|
|
|
<button class="theme-toggle" id="theme-toggle" title="Toggles light & dark" aria-label="auto" aria-live="polite" type="button">
|
|
<svg class="sun-and-moon" aria-hidden="true" width="24" height="24" viewBox="0 0 24 24">
|
|
<mask class="moon" id="moon-mask">
|
|
<rect x="0" y="0" width="100%" height="100%" fill="white" />
|
|
<circle cx="24" cy="10" r="6" fill="black" />
|
|
</mask>
|
|
<circle class="sun" cx="12" cy="12" r="6" mask="url(#moon-mask)" fill="currentColor" />
|
|
<g class="sun-beams" stroke="currentColor">
|
|
<line x1="12" y1="1" x2="12" y2="3" />
|
|
<line x1="12" y1="21" x2="12" y2="23" />
|
|
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64" />
|
|
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78" />
|
|
<line x1="1" y1="12" x2="3" y2="12" />
|
|
<line x1="21" y1="12" x2="23" y2="12" />
|
|
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36" />
|
|
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22" />
|
|
</g>
|
|
</svg>
|
|
</button>
|
|
</p>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
|
|
<div id="main-content" class="container mb-6">
|
|
<p class="mb-2">
|
|
<a style="font-size: 0.9em" href="index.html">← Back to packages</a>
|
|
</p>
|
|
<h3 class="title is-3">
|
|
|
|
Package <code>org.signal.chat.credentials</code>
|
|
|
|
</h3>
|
|
|
|
<div class="block">
|
|
|
|
<p>
|
|
<a href="#service-org.signal.chat.credentials.Credentials">
|
|
<span class="tag" style="min-width: 6em">Service</span>
|
|
<code>Credentials</code>
|
|
</a>
|
|
</p>
|
|
|
|
<p>
|
|
<a href="#service-org.signal.chat.credentials.CredentialsAnonymous">
|
|
<span class="tag" style="min-width: 6em">Service</span>
|
|
<code>CredentialsAnonymous</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.credentials.CheckSvrCredentialsRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>CheckSvrCredentialsRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.credentials.CheckSvrCredentialsResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>CheckSvrCredentialsResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.credentials.GetCreateCallLinkCredentialRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetCreateCallLinkCredentialRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.credentials.GetCreateCallLinkCredentialResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetCreateCallLinkCredentialResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.credentials.GetDeliveryCertificateRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetDeliveryCertificateRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.credentials.GetDeliveryCertificateResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetDeliveryCertificateResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.credentials.GetExternalServiceCredentialsRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetExternalServiceCredentialsRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.credentials.GetExternalServiceCredentialsResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetExternalServiceCredentialsResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.credentials.GetGroupCredentialsRequest">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetGroupCredentialsRequest</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#message-org.signal.chat.credentials.GetGroupCredentialsResponse">
|
|
<span class="tag" style="min-width: 6em">Message</span>
|
|
<code>GetGroupCredentialsResponse</code>
|
|
</a>
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
<a href="#enum-org.signal.chat.credentials.AuthCheckResult">
|
|
<span class="tag" style="min-width: 6em">Enum</span>
|
|
<code>AuthCheckResult</code>
|
|
</a>
|
|
</p>
|
|
|
|
<p>
|
|
<a href="#enum-org.signal.chat.credentials.ExternalServiceType">
|
|
<span class="tag" style="min-width: 6em">Enum</span>
|
|
<code>ExternalServiceType</code>
|
|
</a>
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div class="block">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
<h3 class="title is-3">
|
|
Services
|
|
</h3>
|
|
|
|
|
|
<div>
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="service-org.signal.chat.credentials.Credentials">
|
|
<a href="#service-org.signal.chat.credentials.Credentials" title="org.signal.chat.credentials.Credentials">service Credentials</a>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
<p><p>Provides methods for obtaining and verifying credentials that allow an
|
|
authenticated user to authenticate in another service or context without
|
|
revealing their identity.</p></p>
|
|
</div>
|
|
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.credentials.Credentials-GetExternalServiceCredentials">
|
|
<a href="#service-org.signal.chat.credentials.Credentials-GetExternalServiceCredentials">
|
|
rpc <code>GetExternalServiceCredentials</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.credentials.html#message-org.signal.chat.credentials.GetExternalServiceCredentialsRequest"><span title="org.signal.chat.credentials.GetExternalServiceCredentialsRequest">org.signal.chat.credentials.GetExternalServiceCredentialsRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.credentials.html#message-org.signal.chat.credentials.GetExternalServiceCredentialsResponse"><span title="org.signal.chat.credentials.GetExternalServiceCredentialsResponse">org.signal.chat.credentials.GetExternalServiceCredentialsResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Generates and returns an external service credentials for the caller.</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.credentials.Credentials-GetDeliveryCertificate">
|
|
<a href="#service-org.signal.chat.credentials.Credentials-GetDeliveryCertificate">
|
|
rpc <code>GetDeliveryCertificate</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.credentials.html#message-org.signal.chat.credentials.GetDeliveryCertificateRequest"><span title="org.signal.chat.credentials.GetDeliveryCertificateRequest">org.signal.chat.credentials.GetDeliveryCertificateRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.credentials.html#message-org.signal.chat.credentials.GetDeliveryCertificateResponse"><span title="org.signal.chat.credentials.GetDeliveryCertificateResponse">org.signal.chat.credentials.GetDeliveryCertificateResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Generates a pair of delivery certificates that the holder can include to
|
|
identify themselves to a message recipient (but not the server) in a
|
|
sealed-sender message.</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.credentials.Credentials-GetGroupCredentials">
|
|
<a href="#service-org.signal.chat.credentials.Credentials-GetGroupCredentials">
|
|
rpc <code>GetGroupCredentials</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.credentials.html#message-org.signal.chat.credentials.GetGroupCredentialsRequest"><span title="org.signal.chat.credentials.GetGroupCredentialsRequest">org.signal.chat.credentials.GetGroupCredentialsRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.credentials.html#message-org.signal.chat.credentials.GetGroupCredentialsResponse"><span title="org.signal.chat.credentials.GetGroupCredentialsResponse">org.signal.chat.credentials.GetGroupCredentialsResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Generates a set of zero-knowledge credentials for various group-related
|
|
actions.</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.credentials.Credentials-GetCreateCallLinkCredential">
|
|
<a href="#service-org.signal.chat.credentials.Credentials-GetCreateCallLinkCredential">
|
|
rpc <code>GetCreateCallLinkCredential</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.credentials.html#message-org.signal.chat.credentials.GetCreateCallLinkCredentialRequest"><span title="org.signal.chat.credentials.GetCreateCallLinkCredentialRequest">org.signal.chat.credentials.GetCreateCallLinkCredentialRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.credentials.html#message-org.signal.chat.credentials.GetCreateCallLinkCredentialResponse"><span title="org.signal.chat.credentials.GetCreateCallLinkCredentialResponse">org.signal.chat.credentials.GetCreateCallLinkCredentialResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Generates zero-knowledge credentials for creating call links.</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="service-org.signal.chat.credentials.CredentialsAnonymous">
|
|
<a href="#service-org.signal.chat.credentials.CredentialsAnonymous" title="org.signal.chat.credentials.CredentialsAnonymous">service CredentialsAnonymous</a>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
<p><p>Provides methods for working with previously-generated credentials without
|
|
revealing an association between the credentials and the caller's identity to
|
|
the server.</p></p>
|
|
</div>
|
|
|
|
|
|
<div class="box">
|
|
<div class="block">
|
|
<h5 class="title is-5" id="service-org.signal.chat.credentials.CredentialsAnonymous-CheckSvrCredentials">
|
|
<a href="#service-org.signal.chat.credentials.CredentialsAnonymous-CheckSvrCredentials">
|
|
rpc <code>CheckSvrCredentials</code>
|
|
</a>
|
|
</h5>
|
|
Request: <code><a href="org.signal.chat.credentials.html#message-org.signal.chat.credentials.CheckSvrCredentialsRequest"><span title="org.signal.chat.credentials.CheckSvrCredentialsRequest">org.signal.chat.credentials.CheckSvrCredentialsRequest</span>
|
|
</a></code><br>
|
|
Response: <code><a href="org.signal.chat.credentials.html#message-org.signal.chat.credentials.CheckSvrCredentialsResponse"><span title="org.signal.chat.credentials.CheckSvrCredentialsResponse">org.signal.chat.credentials.CheckSvrCredentialsResponse</span>
|
|
</a></code><br>
|
|
</div>
|
|
|
|
|
|
<div class="block">
|
|
<p><p>Given a list of secure value recovery (SVR) service credentials and a phone
|
|
number, checks and returns which of the provided credentials were generated
|
|
by the user with the given phone number and have not yet expired.</p></p>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h3 class="title is-3">
|
|
Messages
|
|
</h3>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.credentials.CheckSvrCredentialsRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.credentials.CheckSvrCredentialsRequest" title="org.signal.chat.credentials.CheckSvrCredentialsRequest">message CheckSvrCredentialsRequest</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>
|
|
number
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>A phone number in the E164 format to check the passwords against.
|
|
Only passwords generated for the user associated with the given number will be marked as <code>AUTH_CHECK_RESULT_MATCH</code>.</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
passwords
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
repeated
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>A list of credentials from previously made calls to <code>ExternalServiceCredentials.GetExternalServiceCredentials()</code>
|
|
for <code>EXTERNAL_SERVICE_TYPE_SVR</code>. This list may contain credentials generated by different users. Up to 10 credentials
|
|
can be checked.</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.credentials.CheckSvrCredentialsResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.credentials.CheckSvrCredentialsResponse" title="org.signal.chat.credentials.CheckSvrCredentialsResponse">message CheckSvrCredentialsResponse</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
<p>For each of the credentials tokens in the <code>CheckSvrCredentialsRequest</code> contains the result of the check.</p>
|
|
</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>
|
|
matches
|
|
</td>
|
|
<td>
|
|
<code title="map<string, AuthCheckResult>">
|
|
|
|
<span>map<string, AuthCheckResult></span>
|
|
</code>
|
|
</td>
|
|
<td class="content"></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.credentials.GetCreateCallLinkCredentialRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.credentials.GetCreateCallLinkCredentialRequest" title="org.signal.chat.credentials.GetCreateCallLinkCredentialRequest">message GetCreateCallLinkCredentialRequest</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>
|
|
credential_request
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>A zero-knowledge credential request</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.credentials.GetCreateCallLinkCredentialResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.credentials.GetCreateCallLinkCredentialResponse" title="org.signal.chat.credentials.GetCreateCallLinkCredentialResponse">message GetCreateCallLinkCredentialResponse</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>
|
|
credential
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>A zero-knowledge credential that may be redeemed at or up to one day after
|
|
the given redemption time</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.credentials.GetDeliveryCertificateRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.credentials.GetDeliveryCertificateRequest" title="org.signal.chat.credentials.GetDeliveryCertificateRequest">message GetDeliveryCertificateRequest</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>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.credentials.GetDeliveryCertificateResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.credentials.GetDeliveryCertificateResponse" title="org.signal.chat.credentials.GetDeliveryCertificateResponse">message GetDeliveryCertificateResponse</a>
|
|
|
|
</span>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
<p>A pair of message delivery certificates. The response unconditionally
|
|
includes certificates with and without the caller's phone number so the
|
|
server never learns anything about the caller's intent to share their phone
|
|
number with their contacts.</p>
|
|
</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>
|
|
certificate_with_e164
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>A delivery receipt that includes the caller's phone number; may be empty if
|
|
the authenticated account does not have a phone number</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
certificate_without_e164
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>A delivery receipt that does not include the caller's phone number</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.credentials.GetExternalServiceCredentialsRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.credentials.GetExternalServiceCredentialsRequest" title="org.signal.chat.credentials.GetExternalServiceCredentialsRequest">message GetExternalServiceCredentialsRequest</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>
|
|
externalService
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.credentials.ExternalServiceType">
|
|
|
|
<a href="org.signal.chat.credentials.html#enum-org.signal.chat.credentials.ExternalServiceType"><span title="org.signal.chat.credentials.ExternalServiceType">org.signal.chat.credentials.ExternalServiceType</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>A service to request credentials for.</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.credentials.GetExternalServiceCredentialsResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.credentials.GetExternalServiceCredentialsResponse" title="org.signal.chat.credentials.GetExternalServiceCredentialsResponse">message GetExternalServiceCredentialsResponse</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>
|
|
username
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>A username that can be presented to authenticate with the external service.</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
password
|
|
</td>
|
|
<td>
|
|
<code title="string">
|
|
|
|
<span>string</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>A password that can be presented to authenticate with the external service.</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.credentials.GetGroupCredentialsRequest">
|
|
<span>
|
|
<a href="#message-org.signal.chat.credentials.GetGroupCredentialsRequest" title="org.signal.chat.credentials.GetGroupCredentialsRequest">message GetGroupCredentialsRequest</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>
|
|
redemption_start_seconds
|
|
</td>
|
|
<td>
|
|
<code title="uint64">
|
|
|
|
<span>uint64</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The earliest time for which to issue group credentials; must be aligned to
|
|
a UTC day boundary and may be no more than one day in the past at the time
|
|
of the call.</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
redemption_end_seconds
|
|
</td>
|
|
<td>
|
|
<code title="uint64">
|
|
|
|
<span>uint64</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The latest time for which to issue group credentials; must be aligned to a
|
|
UTC day boundary and no more than seven days in the future at the time of
|
|
the call.</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<h4 class="title is-4 type-heading" id="message-org.signal.chat.credentials.GetGroupCredentialsResponse">
|
|
<span>
|
|
<a href="#message-org.signal.chat.credentials.GetGroupCredentialsResponse" title="org.signal.chat.credentials.GetGroupCredentialsResponse">message GetGroupCredentialsResponse</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>
|
|
group_credentials
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.common.ZkCredential">
|
|
|
|
repeated
|
|
|
|
<a href="org.signal.chat.common.html#message-org.signal.chat.common.ZkCredential"><span title="org.signal.chat.common.ZkCredential">org.signal.chat.common.ZkCredential</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>A collection of credentials allowing the holder to anonymously
|
|
authenticate themselves for group-related actions</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>2</td>
|
|
<td>
|
|
call_link_auth_credentials
|
|
</td>
|
|
<td>
|
|
<code title="org.signal.chat.common.ZkCredential">
|
|
|
|
repeated
|
|
|
|
<a href="org.signal.chat.common.html#message-org.signal.chat.common.ZkCredential"><span title="org.signal.chat.common.ZkCredential">org.signal.chat.common.ZkCredential</span>
|
|
</a>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>A collection of credentials allowing the holder to read, update, and delete
|
|
group call links</p></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>3</td>
|
|
<td>
|
|
pni
|
|
</td>
|
|
<td>
|
|
<code title="bytes">
|
|
|
|
<span>bytes</span>
|
|
</code>
|
|
</td>
|
|
<td class="content"><p>The phone number identifier for which the included credentials were
|
|
generated. Empty if the account does not have a phone number.</p></td>
|
|
|
|
</tr>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 class="title is-3">
|
|
Enums
|
|
</h3>
|
|
|
|
|
|
<div class="block">
|
|
<h4 class="title is-4 type-heading" id="enum-org.signal.chat.credentials.AuthCheckResult">
|
|
<a href="#enum-org.signal.chat.credentials.AuthCheckResult" title="org.signal.chat.credentials.AuthCheckResult">enum AuthCheckResult</a>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
<p></p>
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Number</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td><code>AUTH_CHECK_RESULT_UNSPECIFIED</code></td>
|
|
<td>0</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>AUTH_CHECK_RESULT_MATCH</code></td>
|
|
<td>1</td>
|
|
<td class="content"><p>The credentials could be used to make a call to SVR service by the user
|
|
associated with the <code>CheckSvrCredentialsRequest.number</code> phone number.</p></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>AUTH_CHECK_RESULT_NO_MATCH</code></td>
|
|
<td>2</td>
|
|
<td class="content"><p>The credentials were generated by a different user.</p></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>AUTH_CHECK_RESULT_INVALID</code></td>
|
|
<td>3</td>
|
|
<td class="content"><p>This status indicates that the corresponding credentials token should no longer be used.
|
|
This may be because it has expired or invalid, but it can also mean that there is a more
|
|
recent token in the request which should be used instead.</p></td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="block">
|
|
<h4 class="title is-4 type-heading" id="enum-org.signal.chat.credentials.ExternalServiceType">
|
|
<a href="#enum-org.signal.chat.credentials.ExternalServiceType" title="org.signal.chat.credentials.ExternalServiceType">enum ExternalServiceType</a>
|
|
|
|
</h4>
|
|
|
|
<div class="block content">
|
|
<p></p>
|
|
</div>
|
|
|
|
<table class="table is-fullwidth is-hoverable is-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Number</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td><code>EXTERNAL_SERVICE_TYPE_UNSPECIFIED</code></td>
|
|
<td>0</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>EXTERNAL_SERVICE_TYPE_DIRECTORY</code></td>
|
|
<td>1</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>EXTERNAL_SERVICE_TYPE_PAYMENTS</code></td>
|
|
<td>2</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>EXTERNAL_SERVICE_TYPE_STORAGE</code></td>
|
|
<td>3</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><code>EXTERNAL_SERVICE_TYPE_SVR</code></td>
|
|
<td>4</td>
|
|
<td class="content"></td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<footer class="footer">
|
|
<div class="content has-text-centered">
|
|
|
|
<p>Built with <strong><a href="https://github.com/markvincze/sabledocs" target="_blank">sabledocs</a></strong>.</p>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html> |