dingtalk-jsapi
Version:
钉钉 模块化 多端统一 API
31 lines (30 loc) • 1.07 kB
TypeScript
export declare const apiName = "internal.auth.identifyByFace";
/**
* 通过人脸核身 请求参数定义
* @apiName internal.auth.identifyByFace
*/
export interface IInternalAuthIdentifyByFaceParams {
/** 手机号 例子"+86-xxxxxx" */
mobile: string;
/** 临时码,作为二次核身因子时必填 */
tempCode?: string;
/** "login | findPwd" , 目前支持登录与召回密码两种场景使用 */
action: string;
}
/**
* 通过人脸核身 返回结果定义
* @apiName internal.auth.identifyByFace
*/
export interface IInternalAuthIdentifyByFaceResult {
/** "0|2", 0标识完成身份验证,2标识需要使用其他因子再次核身 */
status: string;
/** 需要再次核身时必须返回,再次核身时使用 */
tempCode: string;
}
/**
* 通过人脸核身
* @apiName internal.auth.identifyByFace
* @supportVersion ios: 4.6.18 android: 4.6.18
*/
export declare function identifyByFace$(params: IInternalAuthIdentifyByFaceParams): Promise<IInternalAuthIdentifyByFaceResult>;
export default identifyByFace$;