How to use the ngx-auth-firebaseui.AuthProvider.Facebook function in ngx-auth-firebaseui

To help you get started, weā€™ve selected a few ngx-auth-firebaseui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github AnthonyNahas / ngx-auth-firebaseui / demo / src / app / home / home.component.ts View on Github external
`;

  viewSourceOfNgxAuthFirebaseuiComponent: boolean;
  viewSourceOfNgxAuthFirebaseuiLoginComponent: boolean;
  viewSourceOfNgxAuthFirebaseuiRegisterComponent: boolean;
  viewSourceOfTheUserComponent: boolean;
  viewSourceOfTheProvidersComponentRow: boolean;
  viewSourceOfTheProvidersComponentColumn: boolean;
  viewSourceOfTheProvidersComponentThemes: boolean;

  snackbarSubscription: Subscription;

  public index: number;
  private _color: string;

  providers = [AuthProvider.Facebook];
  themes = Theme;

  constructor(private titleService: Title,
              public auth: AngularFireAuth,
              public router: Router,
              public snackbar: MatSnackBar) {
  }

  ngOnInit() {
    this.titleService.setTitle('Home | ngx-auth-firebaseui');
  }

  get color(): string {
    return this.error ? 'warn' : 'primary';
  }

ngx-auth-firebaseui

Open Source Library for Angular Web Apps to integrate a material user interface for firebase authentication

MIT
Latest version published 2 years ago

Package Health Score

54 / 100
Full package analysis