UNPKG

@hz-9/a5-authn

Version:

Authentication module for the @hz-9/a5-* series of repositories.

14 lines (13 loc) 738 B
import { A5AuthnLoginResDtoType } from '../../dtos'; import { A5AuthnUserPayloadBo } from '../../interfaces/auth'; import { A5AuthnPhoneService } from './a5-authn-phone.service'; import { A5AuthnPhoneLoginReqDto } from './dtos/phone.login.req.dto'; import { A5AuthnPhoneSendReqDto } from './dtos/phone.send.req.dto'; import { A5AuthnPhoneVerifyReqDto } from './dtos/phone.verify.req.dto'; export declare class A5AuthnPhoneController { private readonly service; constructor(service: A5AuthnPhoneService); login(body: A5AuthnPhoneLoginReqDto, userPayload: A5AuthnUserPayloadBo): Promise<A5AuthnLoginResDtoType>; send(body: A5AuthnPhoneSendReqDto): Promise<void>; verify(body: A5AuthnPhoneVerifyReqDto): Promise<void>; }