import{ApigeeAdapter as r}from"./adapters/apigee/adapter.js";import{GraviteeAdapter as a}from"./adapters/gravitee/client.js";class A{getAdapter(e){switch(e.config.type){case"APIGEE_X":case"APIGEE_EDGE":return new r(e.config,e.rbacConfig,e.userClaims,e.catalogApiProducts);case"GRAVITEE":return new a(e.config,e.userClaims,e.idpAccessToken,e.catalogApiProducts)}}}export{A as AdapterFactory};
