import { Injectable } from '@angular/core' ; import { AuthFacade } from '@pimp-my-pr/pmp-web/auth/data-access' ; import { AuthFeatureFacade } from '@pimp-my-pr/pmp-web/auth/feature' ; @ Injectable ( { providedIn : 'root' } ) export class AuthPublicFacade { user$ = this . authFacade . getUser$ ; constructor ( private authFacade , private authFeatureFacade ) { } logout ( ) { this . authFacade . logout ( ) ; } loginRememberedUserOrGoToLogin ( ) { this . authFeatureFacade . loginRememberedUserOrGoToLogin ( ) ; } getUser ( ) { this . authFacade . getUser ( ) ; } }