import { DaffInMemoryRegisterService } from '@daffodil/auth/driver/in-memory'
@Injectable()
class DaffInMemoryRegisterService extends DaffInMemoryDriverBase implements DaffRegisterServiceInterface {
register(registration: DaffAccountRegistration): any
registerOnly(registration: DaffAccountRegistration): any
}
anyRegisters 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 |
anyRegisters an account for the specified customer but does not log the customer in.
@param registration The account registration info.
| Parameter | registration: DaffAccountRegistration |
|---|---|
| Description |