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