Atlas App Services provides multiple authentication providers to log users into your app. Each provider creates a unique user identity. App Services lets you merge multiple credentials into one user identity.
You can link identities by passing the Credentials that you want to link to User.linkCredentials().
final linkedCredentialUser = await user.linkCredentials(additionalCredentials);
Consider an application that offers anonymous login. This allows users to explore the app without registering. If users like the application, they create permanent accounts. They sign up with SSO or email/password authentication. By default, this creates a new User
object. The app must link the new identity with the original User.
We must first register the new email/password user before linking.
final anonymousUser = await app.logIn(Credentials.anonymous());final authProvider = EmailPasswordAuthProvider(app);await authProvider.registerUser(USERNAME, PASSWORD);final linkedCredentialUser = await anonymousUser .linkCredentials(Credentials.emailPassword(USERNAME, PASSWORD));
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4