File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ The default views support:
262262- ** Phone Authentication** (SMS verification)
263263- ** Sign in with Apple**
264264- ** Sign in with Google**
265- - ** Sign in with Facebook** (Classic and Limited Login)
265+ - ** Sign in with Facebook** (Classic and Limited Login depending on whether App Tracking Transparency is authorized )
266266- ** Sign in with Twitter**
267267- ** Generic OAuth Providers** (GitHub, Microsoft, Yahoo, or custom OIDC)
268268
@@ -772,17 +772,26 @@ public func withEmailSignIn() -> AuthService
772772
773773Enables email/password and email link authentication. Uses default behavior (navigates to email link view when tapped).
774774
775+ ** Example:**
776+
775777``` swift
776- public func withEmailSignIn (onTap : @escaping @MainActor () -> Void ) -> AuthService
778+ authService
779+ .withEmailSignIn ()
777780```
778781
779- Enables email authentication with a custom callback when the email button is tapped.
782+ ``` swift
783+ public func withEmailSignIn (onTap : @escaping () -> Void ) -> AuthService
784+ ```
785+
786+ Enables email authentication with a custom callback (i.e where to navigate when tapped) when the email button is tapped.
780787
781788** Example:**
782789
783790``` swift
784791authService
785- .withEmailSignIn ()
792+ .withEmailSignIn (){
793+ // navigate to email sign-in screen logic
794+ }
786795```
787796
788797---
You can’t perform that action at this time.
0 commit comments