UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

2 lines 421 B
import{copy as e}from"../i18n/copy.mjs";import t from"./adapters/oidc-adapter.mjs";const n=n=>{switch(n.type){case`oidc`:return{error:void 0,data:t(n.config)};default:return{error:{type:`basic`,status:500,name:e(`server:core.auth.providers.not.found.name`),message:e(`server:core.auth.providers.not.found.message`)},data:void 0}}};export{n as default,n as getAuthProviderAdapter}; //# sourceMappingURL=get-adapter.mjs.map