JavaScript: Retrieve a user

This method gets the user object from memory.

Examples

Get the logged in user

const user = supabase.auth.user()