-
Notifications
You must be signed in to change notification settings - Fork 495
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
Describe the bug
The Supabase auth object has keys on it like the accessToken
, supabaseKey
, authUrl
, etc. which are missing from the Typescript interface definition: https://github.com/supabase/supabase-js/blob/master/src/index.d.ts#L92
Existing keys:
signup: (email: string, password: string) => Promise<SupabaseAuthResponse>
login: (email: string, password: string) => Promise<SupabaseAuthResponse>
user: () => Promise<SupabaseAuthUser>
logout: () => Promise<void>
Keys to be added:
accessToken: string
authHeader: () => {…}
authUrl: string
autoRefreshToken: boolean
callRefreshToken: () => {…}
currentUser: SupabaseAuthUser
persistSession: boolean
recoverSession: () => {…}
refreshToken: string
removeSavedSession: () => {…}
saveSession: () => {…}
supabaseKey: string
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working