Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Last active June 7, 2017 21:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/ef53bfdf6cb4d4fa85f9b02b37a3abb8 to your computer and use it in GitHub Desktop.
Save matthieu-D/ef53bfdf6cb4d4fa85f9b02b37a3abb8 to your computer and use it in GitHub Desktop.
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