You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Available from https://crates.io/crates/typedb-protocol
8
8
9
9
```sh
10
-
cargo add typedb-protocol@3.1.0
10
+
cargo add typedb-protocol@3.2.0-rc0
11
11
```
12
12
13
13
#### For Node.js through npm
14
14
15
15
Available from https://www.npmjs.com/package/typedb-protocol
16
16
17
17
```sh
18
-
npm install typedb-protocol@3.1.0
18
+
npm install typedb-protocol@3.2.0-rc0
19
19
```
20
20
or
21
21
```sh
22
-
yarn add typedb-protocol@3.1.0
22
+
yarn add typedb-protocol@3.2.0-rc0
23
23
```
24
24
25
25
26
26
## New Features
27
-
27
+
-**Add sign-in request for authentication token retrieval**
28
+
A new mechanism of authentication tokens has been introduced to replace the old way of sending usernames and passwords through the network with every request.
29
+
30
+
Instead, all user credentials (currently, it's usernames and passwords) are sent only:
31
+
* as a part of `connection_open` request for authentication and authorization, with a temporary token returned;
32
+
* as a part of `sign_in` request for sign ins within an established connection (to change the user or to get a new authentication token).
33
+
Then, all further requests are expected to be authenticated only by temporary, less sensitive tokens.
34
+
35
+
The approach is extensible to other credential types that can be introduced in the future.
0 commit comments