UNPKG

@lomray/microservice-users

Version:

Users microservice based on NodeJS & inverted json.

17 lines (16 loc) 654 B
import IdProvider from "../../constants/id-provider.js"; import User from "../../entities/user.js"; declare class IdentityProviderSignInInput { provider: IdProvider; token: string; params?: Record<string, any>; } declare class IdentityProviderSignInOutput { user: User; isNew: boolean; } /** * Sign in through identity provider */ declare const signIn: import("@lomray/microservice-helpers/services/endpoint").IReturnWithMeta<never, IdentityProviderSignInInput, Record<string, any>, import("../../services/identity-provider/abstract.js").ISingInReturn>; export { IdentityProviderSignInInput, IdentityProviderSignInOutput, signIn };