GitHub

DaffRegisterServiceInterface

Type

import { DaffRegisterServiceInterface } from '@daffodil/auth/driver'

interface DaffRegisterServiceInterface<TRequest extends DaffAccountRegistration = DaffAccountRegistration> {
  register(registration: TRequest): any
  registerOnly(registration: TRequest): any
}

() Methods

register
any

Registers an account for the specified customer and logs the customer in.

Parameters
Parameterregistration: TRequest
Description

The account registration info.

registerOnly
any

Registers an account for the specified customer but does not log the customer in.

Parameters
Parameterregistration: TRequest
Description

The account registration info.