Herald for React Native
Preparing search index...
@herald-analytics/core
Identity
Class Identity
The signed-in user. Printed as text or JSON, it hides
userId
, so logs don't leak it.
Index
Constructors
constructor
Properties
user
Id
Methods
to
JSON
to
String
Constructors
constructor
new
Identity
(
userId
:
string
)
:
Identity
Parameters
userId
:
string
Returns
Identity
Properties
Readonly
user
Id
userId
:
string
Methods
to
JSON
toJSON
()
:
string
Returns
string
to
String
toString
()
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
user
Id
Methods
to
JSON
to
String
Herald for React Native
Loading...
The signed-in user. Printed as text or JSON, it hides
userId, so logs don't leak it.