Skip to content

Commit

Permalink
Additional links to SPI
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnuravi committed Sep 21, 2023
1 parent 312f291 commit 880df88
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Alternatively it is common to use the [`SecureStorage`](https://swiftpackageinde

### Storing Credentials

Use the [`SecureStorage`](https://swiftpackageindex.com/StanfordSpezi/SpeziStorage/documentation/spezisecurestorage) module to store a set of ``Credentials`` instances in the Keychain associated with a server that is synchronizable between different devices.
Use the [`SecureStorage`](https://swiftpackageindex.com/StanfordSpezi/SpeziStorage/documentation/spezisecurestorage) module to store a set of [`Credentials`](https://swiftpackageindex.com/stanfordspezi/spezistorage/documentation/spezisecurestorage/credentials) instances in the Keychain associated with a server that is synchronizable between different devices.

```swift
do {
Expand Down Expand Up @@ -231,10 +231,10 @@ do {

Similiar to [`Credentials`](https://swiftpackageindex.com/stanfordspezi/spezistorage/documentation/spezisecurestorage/credentials) instances, you can also use the ``SecureStorage`` module to interact with keys.

- ``SecureStorage/SecureStorage/createKey(_:size:storageScope:)``
- ``SecureStorage/SecureStorage/retrievePrivateKey(forTag:)``
- ``SecureStorage/SecureStorage/retrievePublicKey(forTag:)``
- ``SecureStorage/SecureStorage/deleteKeys(forTag:)``
- [`createKey(_:size:storageScope:)`](https://swiftpackageindex.com/stanfordspezi/spezistorage/documentation/spezisecurestorage/securestorage/createkey(_:size:storagescope:))
- [`retrievePrivateKey(forTag:)`](https://swiftpackageindex.com/stanfordspezi/spezistorage/documentation/spezisecurestorage/securestorage/createkey(_:size:storagescope:))
- [`retrievePublicKey(forTag:)`](https://swiftpackageindex.com/stanfordspezi/spezistorage/documentation/spezisecurestorage/securestorage/retrievepublickey(fortag:))
- [`deleteKeys(forTag:)`](https://swiftpackageindex.com/stanfordspezi/spezistorage/0.4.2/documentation/spezisecurestorage/securestorage/deletekeys(fortag:))

For more information, please refer to the [API documentation](https://swiftpackageindex.com/StanfordSpezi/SpeziStorage/documentation).

Expand Down

0 comments on commit 880df88

Please sign in to comment.