LMFeedUserProviderContext
Introduction
The LMFeedUserProviderContext
is also placed at the core of the SDK. It houses details of the current logged-in user and current community. You can use this in your custom UI to fetch details of the user.
Property | Type | Optional | Description |
---|---|---|---|
currentUser | User | null | No | The currently authenticated user or null |
logoutUser | () => void | null | No | Function to log out the current user or null |
currentCommunity | Community | null | No | The current community context or null |
Example
For example implementation, checkout here