Kit > healthstack.kit.auth > FirebaseGoogleAuthContract

FirebaseGoogleAuthContract

[androidJvm]
class FirebaseGoogleAuthContract(authCallback: AuthCallback) : ActivityResultContract<Unit, FirebaseUser?>

Constructors

FirebaseGoogleAuthContract

[androidJvm]
fun FirebaseGoogleAuthContract(authCallback: AuthCallback)

Functions

Name Summary
createIntent

[androidJvm]
open override fun createIntent(context: Context, input: Unit): Intent

getSynchronousResult

[androidJvm]
open fun getSynchronousResult(context: Context, input: Unit): ActivityResultContract.SynchronousResult<FirebaseUser?>?

parseResult

[androidJvm]
open override fun parseResult(resultCode: Int, intent: Intent?): FirebaseUser?