---
title: "RPC: DeviceLinkLogin"
description: "7 entries."
canonical: "https://klav.everdoc.dev/main/reference/rpc/devicelinklogin"
channel: "main"
---

# RPC: DeviceLinkLogin

> OmarAlex24/klav · channel `main` · main @ [`fe8e2a0c8c24`](https://github.com/OmarAlex24/klav/tree/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92) · 2026-12-05 · generated by Everdoc from source (no LLM).

7 entries.

<a id="rpc-devicelinklogin-cancel"></a>

## `DeviceLinkLogin.cancel`

Cancels before or after the package arrives; the received Secret Key, if any, is zeroized here.

- Kind: rpc
- Workspace: [klav-ffi](../../architecture/klav-ffi.md)
- Source: [crates/klav-ffi/src/device_link.rs:123](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/device_link.rs#L123)
- Handlers: 1 · Callers: 26
- Method: `cancel` · transport uniffi
- Used at: [apps/ios/Credentials/CredentialModel.swift:441](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Credentials/CredentialModel.swift#L441), [apps/ios/Credentials/CredentialView.swift:64](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Credentials/CredentialView.swift#L64), [apps/ios/Klav/DeleteAccount.swift:124](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Klav/DeleteAccount.swift#L124), [apps/ios/Klav/DeleteAccount.swift:129](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Klav/DeleteAccount.swift#L129), [apps/ios/Mac/Account.swift:135](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Mac/Account.swift#L135), … +21

<a id="rpc-devicelinklogin-claim"></a>

## `DeviceLinkLogin.claim`

Blocks in a long-poll until the other device approves, then opens and validates the package. The Secret Key stays in this object.

- Kind: rpc
- Workspace: [klav-ffi](../../architecture/klav-ffi.md)
- Source: [crates/klav-ffi/src/device_link.rs:105](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/device_link.rs#L105)
- Handlers: 1 · Callers: 1
- Method: `claim` · transport uniffi
- Used at: [apps/ios/Shared/App/DeviceLink.swift:470](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Shared/App/DeviceLink.swift#L470)

<a id="rpc-devicelinklogin-expiresatms"></a>

## `DeviceLinkLogin.expiresAtMs`

Client-side wait expiry (Unix ms).

- Kind: rpc
- Workspace: [klav-ffi](../../architecture/klav-ffi.md)
- Source: [crates/klav-ffi/src/device_link.rs:96](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/device_link.rs#L96)
- Handlers: 1 · Callers: 7
- Method: `expiresAtMs` · transport uniffi
- Used at: [apps/ios/Klav/ItemEditor.swift:354](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Klav/ItemEditor.swift#L354), [apps/ios/Mac/ItemEditor.swift:405](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Mac/ItemEditor.swift#L405), [apps/ios/Shared/App/DeviceLink.swift:449](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Shared/App/DeviceLink.swift#L449), [apps/ios/Shared/App/ExpiryFormatting.swift:85](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Shared/App/ExpiryFormatting.swift#L85), [apps/ios/Shared/App/ExpiryFormatting.swift:90](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Shared/App/ExpiryFormatting.swift#L90), … +2

<a id="rpc-devicelinklogin-linkid"></a>

## `DeviceLinkLogin.linkId`

Slot ID, base64url.

- Kind: rpc
- Workspace: [klav-ffi](../../architecture/klav-ffi.md)
- Source: [crates/klav-ffi/src/device_link.rs:88](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/device_link.rs#L88)
- Handlers: 1 · Callers: 0
- Method: `linkId` · transport uniffi

<a id="rpc-devicelinklogin-qrtext"></a>

## `DeviceLinkLogin.qrText`

Exact QR contents (`KD1-…`).

- Kind: rpc
- Workspace: [klav-ffi](../../architecture/klav-ffi.md)
- Source: [crates/klav-ffi/src/device_link.rs:64](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/device_link.rs#L64)
- Handlers: 1 · Callers: 1
- Method: `qrText` · transport uniffi
- Used at: [apps/ios/Shared/App/DeviceLink.swift:448](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Shared/App/DeviceLink.swift#L448)

<a id="rpc-devicelinklogin-text"></a>

## `DeviceLinkLogin.text`

Copyable grouped `KD1-…` text.

- Kind: rpc
- Workspace: [klav-ffi](../../architecture/klav-ffi.md)
- Source: [crates/klav-ffi/src/device_link.rs:72](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/device_link.rs#L72)
- Handlers: 1 · Callers: 3
- Method: `text` · transport uniffi
- Used at: [apps/ios/Klav/Revoke.swift:209](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Klav/Revoke.swift#L209), [apps/ios/Klav/Revoke.swift:225](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Klav/Revoke.swift#L225), [apps/ios/Shared/App/DeviceLink.swift:448](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Shared/App/DeviceLink.swift#L448)

<a id="rpc-devicelinklogin-words"></a>

## `DeviceLinkLogin.words`

Six verification words of this device.

- Kind: rpc
- Workspace: [klav-ffi](../../architecture/klav-ffi.md)
- Source: [crates/klav-ffi/src/device_link.rs:80](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/crates/klav-ffi/src/device_link.rs#L80)
- Handlers: 1 · Callers: 3
- Method: `words` · transport uniffi
- Used at: [apps/ios/Mac/Development/AddMcpServer.swift:455](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Mac/Development/AddMcpServer.swift#L455), [apps/ios/Mac/Development/ShareCredential.swift:1007](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Mac/Development/ShareCredential.swift#L1007), [apps/ios/Shared/App/DeviceLink.swift:448](https://github.com/OmarAlex24/klav/blob/fe8e2a0c8c248c44514c31c7f73b89c3f9cafc92/apps/ios/Shared/App/DeviceLink.swift#L448)
