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)

18 lines (17 loc) 767 B
import { StitchCredential, Transport } from "mongodb-stitch-core-sdk"; import { Apps } from "./Resources"; import { StitchAdminUser } from "./StitchAdminUser"; import { StitchAdminUserProfile } from "./StitchAdminUserProfile"; export default class StitchAdminClient { static readonly apiPath: string; static readonly defaultServerUrl: string; static readonly defaultRequestTimeout: number; private readonly adminAuth; private readonly authRoutes; constructor(baseUrl?: string, transport?: Transport, requestTimeout?: number); adminProfile(): Promise<StitchAdminUserProfile>; apps(groupId: string): Apps; loginWithCredential(credential: StitchCredential): Promise<StitchAdminUser>; logout(): Promise<void>; close(): void; }