Skip to content

Commit ba50035

Browse files
committed
daemon: reference activation_token
1 parent 0f01e79 commit ba50035

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

credentialsd/src/gateway/dbus.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,9 @@ impl Display for CredentialType {
332332
#[derive(Debug, DeserializeDict, Type)]
333333
#[zvariant(signature = "dict")]
334334
struct CreateCredentialPortalOptions {
335+
/// A token that can be used to activate the UI window.
336+
activation_token: Option<String>,
337+
335338
/// The top-level origin of the client window for cross-origin requests.
336339
/// If omitted, denotes a same-origin request.
337340
top_origin: Option<String>,
@@ -345,6 +348,9 @@ struct CreateCredentialPortalOptions {
345348
#[derive(Debug, DeserializeDict, Type)]
346349
#[zvariant(signature = "dict")]
347350
struct GetCredentialPortalOptions {
351+
/// A token that can be used to activate the UI window.
352+
activation_token: Option<String>,
353+
348354
/// The top-level origin of the client window for cross-origin requests.
349355
/// If omitted, denotes a same-origin request.
350356
top_origin: Option<String>,

doc/api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ CreateCredentialRequest(
202202
IN origin s,
203203
IN type CredentialType,
204204
IN options a{sv} {
205-
handle_token: s
205+
activation_token: s
206206
top_origin: s
207207
<type_specific_fields>
208208
},
@@ -322,6 +322,7 @@ GetCredentialRequest (
322322
IN parent_window s,
323323
IN origin s,
324324
IN options a{sv} {
325+
activation_token: s
325326
top_origin: s
326327
<type_specific_fields>
327328
public_key: s

0 commit comments

Comments
 (0)