All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.io.github.jan.supabase.AccessTokenProvider.kt Maven / Gradle / Ivy

There is a newer version: 3.0.2
Show newest version
package io.github.jan.supabase

/**
 * Optional function for using a third-party authentication system with
 * Supabase. The function should return an access token or ID token (JWT) by
 * obtaining it from the third-party auth client library. Note that this
 * function may be called concurrently and many times. Use memoization and
 * locking techniques if this is not supported by the client libraries.
 */
typealias AccessTokenProvider = suspend () -> String?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy