abstract val currentUser: User?

Returns the current user that is logged in and still valid.

Users are invalidated when they log out or when their refresh tokens expire or are revoked.

If two or more users are logged in, it is the last valid user that is returned by this property.

The value of this property will be null if no user is logged in or the user has expired.