UNPKG

cloudhospital.react.sdk

Version:
9 lines (8 loc) 445 B
import { EmailSignIn, ExternalSignIn, IdentityToken } from '@models/auths'; declare const auths: { signInROPCAsync: (emailSignIn: EmailSignIn) => Promise<IdentityToken>; signInExternal: (externalSignIn: ExternalSignIn) => Promise<IdentityToken>; signOutExternal: (provider: 'Facebook' | 'Google' | 'Apple', providerKey: string) => Promise<boolean>; refreshToken: (refresh_token: string) => Promise<any>; }; export default auths;