OAuthContainer
Deprecated
Use OAuthContainer with linkAccount parameter, which defaults to false
Replace with
OAuth Ui Container Composable that handles all sign-in functionality for given provider. Child of this Composable can be any view or Composable function. You need to call UiContainerScope.onClick function on your child view's click function.
onResult callback will return Result with FirebaseUser type.
Parameters
OAuthProvider class object.
Boolean flag to link account with current user. Default value is false.
Example Usage:
OAuthContainer(onResult = onFirebaseResult) {
Button(onClick = { this.onClick() }) { Text("Github Sign-In (Custom Design)") }
}
val oAuthProvider = OAuthProvider(provider = "github.com")
OAuthContainer(modifier = modifier, oAuthProvider = oAuthProvider,onResult = onFirebaseResult){
Button(onClick = { this.onClick() }) { Text("Github Sign-In (Custom Design)") }
}
Deprecated
Use OAuthContainer with linkAccount parameter, which defaults to false
Replace with
Deprecated
Use OAuthContainer with linkAccount parameter, which defaults to false
Replace with
OAuth Ui Container Composable that handles all sign-in functionality for given provider. Child of this Composable can be any view or Composable function. You need to call UiContainerScope.onClick function on your child view's click function.
onResult callback will return Result with FirebaseUser type.
Parameters
OAuthProvider class object.
Example Usage:
OAuthContainer(onResult = onFirebaseResult) {
Button(onClick = { this.onClick() }) { Text("Github Sign-In (Custom Design)") }
}
val oAuthProvider = OAuthProvider(provider = "github.com")
OAuthContainer(modifier = modifier, oAuthProvider = oAuthProvider,onResult = onFirebaseResult){
Button(onClick = { this.onClick() }) { Text("Github Sign-In (Custom Design)") }
}
OAuth Ui Container Composable that handles all sign-in functionality for given provider. Child of this Composable can be any view or Composable function. You need to call UiContainerScope.onClick function on your child view's click function.
onResult callback will return Result with FirebaseUser type.
Parameters
OAuthProvider class object.
Example Usage:
OAuthContainer(onResult = onFirebaseResult) {
Button(onClick = { this.onClick() }) { Text("Github Sign-In (Custom Design)") }
}
val oAuthProvider = OAuthProvider(provider = "github.com")
OAuthContainer(modifier = modifier, oAuthProvider = oAuthProvider,onResult = onFirebaseResult){
Button(onClick = { this.onClick() }) { Text("Github Sign-In (Custom Design)") }
}