whodis-sdk
Version:
A simple sdk for easy, secure authentication with the whodis platform. Setup secure authentication for your app in seconds.
13 lines (12 loc) • 399 B
TypeScript
import { PickOne } from 'type-fns';
import { WhodisContactMethod, WhodisIdentity, WhodisUser } from '../../domain';
export declare const getUser: (args: PickOne<{
userUuid: string;
contactMethod: WhodisContactMethod;
identity: Omit<WhodisIdentity, 'uuid'>;
}>, context: {
credentials: {
privateKey: string;
publicKey: string;
};
}) => Promise<WhodisUser | null>;