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
### Creating a user and a token in a single request
103
103
104
104
For convenience, use `createUserAndToken` to create a new user and issue a token with one function call. This translates into a single web request as opposed to creating a user first and then issuing a token.
105
105
106
106
```typescript
107
-
let { user, token } =awaitclient.createUserWithToken(["chat"]);
107
+
let { user, token } =awaitclient.createUserAndToken(["chat"]);
0 commit comments