<commit_before><commit_msg>placeholder auth provider<commit_after>import { Injectable } from '@angular/core';
import { Http } from '@angular/http';

import { Observable } from 'rxjs/Observable';
import { Subject } from 'rxjs/Subject';
import 'rxjs/add/operator/map';

@Injectable()
export class AuthProvider {

  private isLoggedIn: boolean;
  private authWatchDog = new Subject();

  constructor(public http: Http) {
    this.isLoggedIn = false;
  }

  public login(): void {
    this.authWatchDog.next(true);
  }

  public logout(): void {
    this.authWatchDog.next(false);
  }

  public watchIsLoggedIn(): Subject<boolean> {
    return this.authWatchDog;
  }

}
{'fraction_non_alphanumeric': 0.1293233082706767, 'fraction_numerical': 0.0, 'mean_word_length': 4.285714285714286, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3798763', 'n_tokens_mistral': 218, 'n_tokens_neox': 209, 'n_words': 49}