Kotlin: Retrieve a user

Parameters

Examples

Get the signed-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")