UNPKG

sanity

Version:

Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches

21 lines (16 loc) 346 B
/** @internal */ export function getProviderTitle(provider?: string): string | undefined { if (provider === 'google') { return 'Google' } if (provider === 'github') { return 'GitHub' } if (provider === 'sanity') { return 'Sanity' } if (provider?.startsWith('saml-')) { return 'SAML/SSO' } return undefined }