authProviders.tsx 493 B

12345678910111213141516171819
  1. import {AuthProviderFixture} from 'sentry-fixture/authProvider';
  2. import type {AuthProvider} from 'sentry/types/auth';
  3. export function AuthProvidersFixture(params: AuthProvider[] = []): AuthProvider[] {
  4. return [
  5. AuthProviderFixture({
  6. key: 'dummy',
  7. name: 'Dummy',
  8. requiredFeature: 'organizations:sso-basic',
  9. }),
  10. AuthProviderFixture({
  11. key: 'dummy2',
  12. name: 'Dummy SAML',
  13. requiredFeature: 'organizations:sso-saml2',
  14. }),
  15. ...params,
  16. ];
  17. }