import { Injectable } from '@angular/core' ; @ Injectable ( ) export abstract class AuthService { public abstract login ( ) ; public abstract logout ( ) ; public abstract get isLoggedIn ( ) ; public abstract get userName ( ) : string ; }