Interface StitchUser
-
- All Superinterfaces:
CoreStitchUser
- All Known Implementing Classes:
StitchUserImpl
public interface StitchUser extends CoreStitchUser
A user that belongs to a MongoDB Stitch application.
-
-
Method Summary
Modifier and Type Method Description StitchUser
linkWithCredential(StitchCredential credential)
Links this user with another identity represented by the given credential.-
Methods inherited from interface com.mongodb.stitch.core.auth.internal.CoreStitchUser
getCustomData, getDeviceId, getId, getIdentities, getLastAuthActivity, getLoggedInProviderName, getLoggedInProviderType, getProfile, getUserType, isLoggedIn
-
-
-
-
Method Detail
-
linkWithCredential
StitchUser linkWithCredential(StitchCredential credential)
Links this user with another identity represented by the given credential.- Parameters:
credential
- the credential bound to an identity to link to.- Returns:
- the newly linked user with a new identity added associated with the given credential.
-
-