GitHub

DaffTestingRegisterService

class

import { DaffTestingRegisterService } from '@daffodil/auth/driver/testing'

@Injectable()
class DaffTestingRegisterService implements DaffRegisterServiceInterface {
  register(registration: DaffAccountRegistration): Observable<string>
  registerOnly(registration: DaffLoginInfo): Observable<void>
}

() Methods

register
Observable

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

Parameters
Parameterregistration: DaffAccountRegistration
Description
registerOnly
Observable

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

Parameters
Parameterregistration: DaffLoginInfo
Description