Last active
June 7, 2017 21:21
-
-
Save matthieu-D/ef53bfdf6cb4d4fa85f9b02b37a3abb8 to your computer and use it in GitHub Desktop.
This file contains 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 } from '@angular/core'; | |
import { Config } from 'ionic-angular'; | |
import { Cognito } from './providers'; | |
declare var AWS: any; | |
@Injectable() | |
export class User { | |
private user: any; | |
public loggedIn: boolean = false; | |
constructor(public cognito: Cognito, public config: Config) { | |
this.user = null; | |
} | |
. | |
. | |
. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment