- All Superinterfaces:
- All Known Implementing Classes:
public interface StitchUser extends CoreStitchUserA user that belongs to a MongoDB Stitch application.
StitchAuth.listUsers()to get a list of the users who are on the device.
- See Also:
Task<StitchUser> linkWithCredential(StitchCredential credential)Links this user with another identity represented by the given credential.
Linking allows one user to become associated with another credential. For example, suppose a user logs in anonymously to try the app before deciding to create an account. This method allows the data associated with the anonymous credential to be associated with the new account credential.
credential- the credential bound to an identity to link to.
Taskcontaining the newly linked user with a new identity added associated with the given credential.