GitHub

DaffMagentoAuthTransformerService

import { DaffMagentoAuthTransformerService } from '@daffodil/auth/driver/magento'

Transforms magento auths into an object usable by daffodil.

@Injectable()
class DaffMagentoAuthTransformerService {
  transform(auth: MagentoAuth): DaffAuthToken
}

() Methods

transform
DaffAuthToken

Transforms the magento AuthNode from the magento auth query into a DaffAuthToken.

Parameters
Parameterauth: MagentoAuth
Description

the auth from a magento auth query.