1
|
import { AuthService } from './shared/services/auth.service';
|
2
|
import { Component, OnInit } from '@angular/core';
|
3
|
import { PrimeNGConfig } from 'primeng/api';
|
4
|
|
5
|
@Component({
|
6
|
selector: 'app-root',
|
7
|
templateUrl: './app.component.html',
|
8
|
styleUrls: ['./app.component.scss']
|
9
|
})
|
10
|
export class AppComponent implements OnInit {
|
11
|
|
12
|
constructor(private primengConfig: PrimeNGConfig, private authService: AuthService) { }
|
13
|
|
14
|
|
15
|
ngOnInit(): void {
|
16
|
this.primengConfig.ripple = true;
|
17
|
this.authService.initializeOAuth2Login();
|
18
|
}
|
19
|
}
|