Kotlin: Retrieve a user

Parameters

Examples

Get the logged in user with the current session

val user = supabase.auth.retrieveUserForCurrentSession(updateSession = true)

Get a user based on their access token

val user = supabase.auth.retrieveUser("JWT")