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)

15 lines (14 loc) 802 B
import { CoreStitchUser, StitchUserFactory, StitchUserIdentity, StitchUserProfileImpl } from "mongodb-stitch-core-sdk"; declare class StitchAdminUser implements CoreStitchUser { readonly id: string; readonly loggedInProviderType: string; readonly loggedInProviderName: string; readonly userType: string; readonly profile: StitchUserProfileImpl; readonly identities: StitchUserIdentity[]; constructor(id: string, providerType: string, providerName: string, userProfile: StitchUserProfileImpl); } declare class StitchAdminUserFactory implements StitchUserFactory<StitchAdminUser> { makeUser(id: string, loggedInProviderType: string, loggedInProviderName: string, userProfile?: StitchUserProfileImpl): StitchAdminUser; } export { StitchAdminUser, StitchAdminUserFactory };