Skip to main content

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.

PropertyTypeOptionalDescription
currentUserUser | nullNoThe currently authenticated user or null
logoutUser () => void | nullNoFunction to log out the current user or null
currentCommunityCommunity | nullNoThe current community context or null

Example

For example implementation, checkout here