mirror of
https://github.com/balzack/databag.git
synced 2025-04-26 03:25:16 +00:00
Update README.md
This commit is contained in:
parent
6925b6ba42
commit
553e1338a9
@ -15,7 +15,10 @@ The crypto and log params are provided by implementing the [Crypto](https://gith
|
|||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>Persistent storage can then be provided to the SDK for user communication</summary><br>
|
<summary>User communcation is provided through the Session interface</summary><br>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Storage can then be provided to the SDK to persist sessions</summary><br>
|
||||||
|
|
||||||
Mobile apps typically use the offline store where most of the relational data is saved. The sql param is provided by implementing the [SqlStore](https://github.com/balzack/databag/blob/sdk/app/sdk/src/store.ts) interface.
|
Mobile apps typically use the offline store where most of the relational data is saved. The sql param is provided by implementing the [SqlStore](https://github.com/balzack/databag/blob/sdk/app/sdk/src/store.ts) interface.
|
||||||
|
|
||||||
@ -26,9 +29,6 @@ Browser apps typically the online store where minimal session data is saved. The
|
|||||||
```initOnlineStore(web: WebStore): Promise<Session | null>```
|
```initOnlineStore(web: WebStore): Promise<Session | null>```
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>User communcation is provided through the Session interface</summary><br>
|
|
||||||
|
|
||||||
Login provides a Session through an account login
|
Login provides a Session through an account login
|
||||||
|
|
||||||
```login(handle: string, password: string, node: string, secure: boolean, mfaCode: string | null, params: SessionParams): Promise<Session>```
|
```login(handle: string, password: string, node: string, secure: boolean, mfaCode: string | null, params: SessionParams): Promise<Session>```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user