import { Component } from '@angular/core';
import { UserService } from '@users/user.service';
import { getConfig } from '@iqser/common-ui';
import { AppConfig } from '@red/domain';

@Component({
    selector: 'redaction-auth-error',
    templateUrl: './auth-error.component.html',
    styleUrls: ['./auth-error.component.scss'],
})
export class AuthErrorComponent {
    readonly #config = getConfig<AppConfig>();
    readonly adminName = this.#config.ADMIN_CONTACT_NAME;
    readonly adminUrl = this.#config.ADMIN_CONTACT_URL;

    constructor(readonly userService: UserService) {}
}
