MCPcopy
hub / github.com/OpenHands/OpenHands / identify

Method identify

frontend/src/utils/reo.ts:81–94  ·  view source on GitHub ↗

* Identify a user in Reo.dev tracking * Should be called after successful login

(identity: ReoIdentity)

Source from the content-addressed store, hash-verified

79 * Should be called after successful login
80 */
81 identify(identity: ReoIdentity): void {
82 if (!this.initialized) {
83 EventLogger.warning("Reo.dev not initialized. Call init() first.");
84 return;
85 }
86
87 try {
88 if (window.Reo) {
89 window.Reo.identify(identity);
90 }
91 } catch (error) {
92 EventLogger.error(`Failed to identify user in Reo.dev: ${error}`);
93 }
94 }
95
96 /**
97 * Check if Reo.dev is initialized

Callers 2

useReoTrackingFunction · 0.80
useGitUserFunction · 0.80

Calls 2

warningMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected