FirebaseAuth

The entry point of Firebase Authentication.

Properties

Link copied to clipboard

The signed-in user now and whenever it changes.

Link copied to clipboard

The Android-SDK-shaped com.google.firebase.auth.FirebaseAuth this instance wraps.

Link copied to clipboard

The signed-in user, or null.

Link copied to clipboard

The signed-in user now and whenever it or its ID token changes.

Link copied to clipboard

The language of the emails and SMS the SDK sends; empty for the project default.

Functions

Link copied to clipboard
suspend fun applyActionCode(code: String)
Link copied to clipboard
suspend fun <T : ActionCodeResult> checkActionCode(code: String): T
Link copied to clipboard
suspend fun confirmPasswordReset(code: String, newPassword: String)
Link copied to clipboard
suspend fun createUserWithEmailAndPassword(email: String, password: String): AuthResult
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
suspend fun sendPasswordResetEmail(email: String, actionCodeSettings: ActionCodeSettings? = null)
Link copied to clipboard
suspend fun sendSignInLinkToEmail(email: String, actionCodeSettings: ActionCodeSettings)
Link copied to clipboard
Link copied to clipboard
suspend fun signInWithCredential(authCredential: AuthCredential): AuthResult
Link copied to clipboard
Link copied to clipboard
suspend fun signInWithEmailAndPassword(email: String, password: String): AuthResult
Link copied to clipboard
suspend fun signInWithEmailLink(email: String, link: String): AuthResult
Link copied to clipboard
suspend fun signOut()
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
suspend fun updateCurrentUser(user: FirebaseUser)
Link copied to clipboard
fun useEmulator(host: String, port: Int)

Connects to the Authentication emulator at host:port; must be called before the instance is used.

Link copied to clipboard