Signature
Parameters
| Name | Type | Description |
|---|---|---|
userId | String | Your user’s unique identifier from your auth system. |
attributes | EncoreAttributes? | Optional structured attributes to set for the user in one call. Defaults to nil. |
Usage
Basic identification
With attributes
Call
identify() after a successful login. On logout, call reset() to clear the user ID and cached entitlements.