mongodb-stitch
Version:
[](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
15 lines (14 loc) • 660 B
TypeScript
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;
}