Created
January 12, 2020 11:29
-
-
Save bezysoftware/676caa138e91c2d504d72553934cc9f1 to your computer and use it in GitHub Desktop.
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
| // Initialize FirebaseUI during your application startup (e.g. App.xaml.cs) | |
| FirebaseUI.Initialize(new FirebaseUIConfig | |
| { | |
| ApiKey = "<API KEY>", | |
| AuthDomain = "<DOMAIN>.firebaseapp.com", | |
| Providers = new FirebaseAuthProvider[] | |
| { | |
| new GoogleProvider().AddScopes("email"), | |
| new EmailProvider() | |
| // and others | |
| }, | |
| PrivacyPolicyUrl = "<PP URL>", | |
| TermsOfServiceUrl = "<TOS URL>", | |
| IsAnonymousAllowed = true, | |
| UserRepository = new FileUserRepository("FirebaseSample") // persist data into %AppData%\FirebaseSample | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment