1234567891011121314151617 |
- import type {AuthProvider as AuthProviderType} from 'sentry/types';
- export function AuthProviders(params: AuthProviderType[] = []): AuthProviderType[] {
- return [
- TestStubs.AuthProvider({
- key: 'dummy',
- name: 'Dummy',
- requiredFeature: 'organizations:sso-basic',
- }),
- TestStubs.AuthProvider({
- key: 'dummy2',
- name: 'Dummy SAML',
- requiredFeature: 'organizations:sso-saml2',
- }),
- ...params,
- ];
- }
|