authProviders.tsx 449 B

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