Last active
August 7, 2025 12:52
-
-
Save arulwastaken/85e1e394a34aa434c0de9641cdf8e520 to your computer and use it in GitHub Desktop.
GoogleAuthProvider.kt Used inside Jetpack Composable and GoogleAuthenticator used for trigger action
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.codingwitharul.bill_it.common.auth | |
import com.codingwitharul.bill_it.common.model.GoogleUser | |
import com.codingwitharul.bill_it.domain.repo.AuthRepo | |
expect class GoogleAuthenticator { | |
suspend fun login(): Result<GoogleUser?> | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.codingwitharul.bill_it.common.auth | |
import androidx.compose.runtime.Composable | |
import com.codingwitharul.bill_it.common.auth.GoogleAuthenticator | |
expect class GoogleAuthProvider { | |
@Composable | |
fun getUiProvider(): GoogleAuthenticator | |
suspend fun signOut() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment