MCPcopy Create free account
hub / github.com/GetStream/stream-js / createUserClient

Method createUserClient

test/integration/cloud/utils.js:84–86  ·  view source on GitHub ↗
(userId, extraData)

Source from the content-addressed store, hash-verified

82 }
83
84 createUserClient(userId, extraData) {
85 return connect(config.API_KEY, this.createUserToken(userId, extraData), config.APP_ID, this.clientOptions);
86 }
87
88 wrapFn(fn) {
89 const ctx = this;

Callers 1

constructorMethod · 0.95

Calls 2

createUserTokenMethod · 0.95
connectFunction · 0.90

Tested by

no test coverage detected