import { DaffInMemoryRegisterService } from '@daffodil/auth/driver/in-memory'
@Injectable()
class DaffInMemoryRegisterService extends DaffInMemoryDriverBase implements DaffRegisterServiceInterface {
register(registration: DaffAccountRegistration): Observable<string>
registerOnly(registration: DaffAccountRegistration): Observable<void>
}
ObservableRegisters an account for the specified customer and logs the customer in.
@param registration The account registration info. @return The authentication token.
| Parameter | registration: DaffAccountRegistration |
|---|---|
| Description |
ObservableRegisters an account for the specified customer but does not log the customer in.
@param registration The account registration info.
| Parameter | registration: DaffAccountRegistration |
|---|---|
| Description |