Skip to content

Commit e192b90

Browse files
authored
Update SDK documentation to KeySlotIds (#797)
1 parent a51fbd7 commit e192b90

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/architecture/sdk/adding-functionality.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ for details on how this works and which dependency types are available.
5252
```rust
5353
#[derive(FromClient)]
5454
pub struct FoldersClient {
55-
pub(crate) key_store: KeyStore<KeyIds>,
55+
pub(crate) key_store: KeyStore<KeySlotIds>,
5656
pub(crate) api_configurations: Arc<ApiConfigurations>,
5757
pub(crate) repository: Option<Arc<dyn Repository<Folder>>>,
5858
}

docs/architecture/sdk/client-patterns.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ directly to obtain their dependencies.
1818
```rust
1919
#[derive(FromClient)]
2020
pub struct FoldersClient {
21-
pub(crate) key_store: KeyStore<KeyIds>,
21+
pub(crate) key_store: KeyStore<KeySlotIds>,
2222
pub(crate) api_configurations: Arc<ApiConfigurations>,
2323
pub(crate) repository: Option<Arc<dyn Repository<Folder>>>,
2424
}
2525
```
2626

2727
Some of the available dependency types that can be extracted are:
2828

29-
- `KeyStore<KeyIds>` — access to the cryptographic key store
29+
- `KeyStore<KeySlotIds>` — access to the cryptographic key store
3030
- `Arc<ApiConfigurations>` — HTTP API client configuration
3131
- `Option<Arc<dyn Repository<T>>>` — state repository for a given domain type
3232

0 commit comments

Comments
 (0)