authProvider.tsx 308 B

12345678910
  1. import type {AuthProvider as AuthProviderType} from 'sentry/types';
  2. export function AuthProvider(params: Partial<AuthProviderType> = {}): AuthProviderType {
  3. return {
  4. key: 'auth_provider_key',
  5. name: 'auth_provider_name',
  6. requiredFeature: 'auth_provider_required_feature',
  7. ...params,
  8. };
  9. }