getUserInfo

suspend fun getUserInfo(): UserInfo?

Retrieves the user information for the authenticated user.

Return

The user information if available, or null if not authenticated or unable to fetch user info.