import { Injectable } from '@angular/core' ; import { DaffAuthToken } from '@daffodil/auth' ; import { MagentoAuth } from '../models/response/auth' ; /**
 * Transforms magento auths into an object usable by daffodil.
 */ @ Injectable ( { providedIn : 'root' , } ) export class DaffMagentoAuthTransformerService { param auth transform ( auth ) { return { token : auth . token , } ; } }