This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update: | |
# I am moving this script back to its original home as part of the AzuraCast repository: | |
# https://github.com/AzuraCast/radio-video-stream | |
# -- | |
# See updated instructions there. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable, NgZone } from '@angular/core'; | |
import { Router } from '@angular/router'; | |
import { AngularFireAuth } from '@angular/fire/auth'; | |
import * as firebase from 'firebase/app'; | |
@Injectable({ | |
providedIn: 'root' | |
}) | |
export class AuthenticationService { | |
private auth: firebase.auth.Auth; |