We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d23b2c commit c0d80dbCopy full SHA for c0d80db
1 file changed
FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Services/AuthService.swift
@@ -175,7 +175,11 @@ public final class AuthService {
175
}
176
177
178
+}
179
+
180
+// MARK: - Email/Password Sign In
181
182
+public extension AuthService {
183
func signIn(withEmail email: String, password: String) async throws {
184
let credential = EmailAuthProvider.credential(withEmail: email, password: password)
185
try await auth.signIn(with: credential)
@@ -199,7 +203,11 @@ public final class AuthService {
199
203
throw error
200
204
201
205
206
207
208
+// MARK: - Email Link Sign In
202
209
210
211
func sendEmailSignInLink(to email: String) async throws {
212
do {
213
let actionCodeSettings = try safeActionCodeSettings()
0 commit comments