1 import { Component, OnInit } from '@angular/core';
3 import { AuthService } from '../../../shared/api/auth.service';
4 import { Icons } from '../../../shared/enum/icons.enum';
5 import { AuthStorageService } from '../../../shared/services/auth-storage.service';
8 selector: 'cd-identity',
9 templateUrl: './identity.component.html',
10 styleUrls: ['./identity.component.scss']
12 export class IdentityComponent implements OnInit {
17 constructor(private authStorageService: AuthStorageService, private authService: AuthService) {}
20 this.username = this.authStorageService.getUsername();
21 this.sso = this.authStorageService.isSSO();
25 this.authService.logout();