import { DaffRegisterServiceInterface } from '@daffodil/auth/driver'
interface DaffRegisterServiceInterface<TRequest extends DaffAccountRegistration = DaffAccountRegistration> {
register(registration: TRequest): Observable<string>
registerOnly(registration: TRequest): Observable<void>
}
Observable
Registers an account for the specified customer and logs the customer in.
Parameter | registration: TRequest |
---|---|
Description | The account registration info. |
Observable
Registers an account for the specified customer but does not log the customer in.
Parameter | registration: TRequest |
---|---|
Description | The account registration info. |