authProviders.tsx 488 B

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