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 { A5AuthnEmailService } from './a5-authn-email.service'; import { A5AuthnEmailLoginReqDto } from './dtos/email.login.req.dto'; import { A5AuthnEmailSendReqDto } from './dtos/email.send.req.dto'; import { A5AuthnEmailVerifyReqDto } from './dtos/email.verify.req.dto'; export declare class A5AuthnEmailController { private readonly service; constructor(service: A5AuthnEmailService); login(body: A5AuthnEmailLoginReqDto, userPayload: A5AuthnUserPayloadBo): Promise<A5AuthnLoginResDtoType>; send(body: A5AuthnEmailSendReqDto): Promise<void>; verify(body: A5AuthnEmailVerifyReqDto): Promise<void>; }