20 lines
545 B
TypeScript
20 lines
545 B
TypeScript
import { AuthService } from './shared/services/auth.service';
|
|
import { Component, OnInit } from '@angular/core';
|
|
import { PrimeNGConfig } from 'primeng/api';
|
|
|
|
@Component({
|
|
selector: 'app-root',
|
|
templateUrl: './app.component.html',
|
|
styleUrls: ['./app.component.scss']
|
|
})
|
|
export class AppComponent implements OnInit {
|
|
|
|
constructor(private primengConfig: PrimeNGConfig, private authService: AuthService) { }
|
|
|
|
|
|
ngOnInit(): void {
|
|
this.primengConfig.ripple = true;
|
|
this.authService.initializeOAuth2Login();
|
|
}
|
|
}
|