UNPKG

mongodb-stitch

Version:

[![Join the chat at https://gitter.im/mongodb/stitch](https://badges.gitter.im/mongodb/stitch.svg)](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

27 lines 980 B
import StitchUserProfileImpl from "./StitchUserProfileImpl"; var CoreStitchUserImpl = (function () { function CoreStitchUserImpl(id, loggedInProviderType, loggedInProviderName, profile) { this.id = id; this.loggedInProviderType = loggedInProviderType; this.loggedInProviderName = loggedInProviderName; this.profile = profile === undefined ? StitchUserProfileImpl.empty() : profile; } Object.defineProperty(CoreStitchUserImpl.prototype, "userType", { get: function () { return this.profile.userType; }, enumerable: true, configurable: true }); Object.defineProperty(CoreStitchUserImpl.prototype, "identities", { get: function () { return this.profile.identities; }, enumerable: true, configurable: true }); return CoreStitchUserImpl; }()); export default CoreStitchUserImpl; //# sourceMappingURL=CoreStitchUserImpl.js.map