Interface StitchUser

    • Method Detail

      • linkWithCredential

        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.
        a Task containing the newly linked user with a new identity added associated with the given credential.