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

Method user

src/client.ts:913–915  ·  view source on GitHub ↗
(userId: string)

Source from the content-addressed store, hash-verified

911 }
912
913 user(userId: string) {
914 return new StreamUser<StreamFeedGenerics>(this, userId, this.getOrCreateToken());
915 }
916
917 async setUser(data: StreamFeedGenerics['userType']) {
918 if (this.usingApiSecret) {

Callers 5

constructorMethod · 0.95
user_flag.jsFile · 0.80
profile.jsFile · 0.80
permissions.jsFile · 0.80
test.tsFile · 0.80

Calls 1

getOrCreateTokenMethod · 0.95

Tested by

no test coverage detected