authProvider.js 304 B

123456789101112131415
  1. export function AuthProvider(params = {}) {
  2. return {
  3. auth_provider: {
  4. id: '1',
  5. provider: 'dummy',
  6. },
  7. require_link: true,
  8. default_role: 'member',
  9. login_url: 'http://loginUrl',
  10. provider_name: 'dummy',
  11. pending_links_count: 0,
  12. content: '',
  13. ...params,
  14. };
  15. }