Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
benlmyers committed Jan 23, 2022
2 parents 8773398 + 62743b0 commit 0416705
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ EasyFirebase is a Swift wrapper for all things Firebase. Save hours from impleme
- Email auth [](https://github.com/Flowductive/easy-firebase#email-auth)
- Sign In with Google [](https://github.com/Flowductive/easy-firebase#sign-in-with-google)
- Sign In with Apple [](https://github.com/Flowductive/easy-firebase#sign-in-with-apple)
- Built-in usernames [](https://github.com/Flowductive/easy-firebase#built-in-usernames)
- Robust user management [](https://github.com/Flowductive/easy-firebase#robust-user-management)
- Storage Support
- Data storage [](https://github.com/Flowductive/easy-firebase#data-storage)
Expand Down Expand Up @@ -251,6 +252,22 @@ Authenticate with Apple:
EasyAuth.signInWithApple()
```

### Built-In Usernames

Generate unique usernames and update easily:

```swift
user.safelyUpdateUsername(to: "myNewUsername") { error, suggestion in
if let error = error {
// ...
} else if let suggestion = suggestion {
// Username taken, provide the user with this suggestion.
} else {
// Success! Username changed.
}
}
```

### Robust User Management

Quickly update and manage `EasyAuth` users:
Expand Down

0 comments on commit 0416705

Please sign in to comment.