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) 660 B
import StitchUserProfileImpl from "./StitchUserProfileImpl"; export default class AuthInfo { static empty(): AuthInfo; readonly userId?: string; readonly deviceId?: string; readonly accessToken?: string; readonly refreshToken?: string; readonly loggedInProviderType?: string; readonly loggedInProviderName?: string; readonly userProfile?: StitchUserProfileImpl; constructor(userId?: string, deviceId?: string, accessToken?: string, refreshToken?: string, loggedInProviderType?: string, loggedInProviderName?: string, userProfile?: StitchUserProfileImpl); loggedOut(): AuthInfo; merge(newInfo: AuthInfo): AuthInfo; }