UNPKG

@netgrif/components-core

Version:

Netgrif Application engine frontend core Angular library

32 lines (31 loc) 1.72 kB
import { OnDestroy } from "@angular/core"; import { ActivatedRoute, Params, Router } from "@angular/router"; import { Observable } from "rxjs"; import { HttpClient } from "@angular/common/http"; import { ConfigurationService } from "../../../configuration/configuration.service"; import { LoggerService } from '../../../logger/services/logger.service'; import { LoadingEmitter } from '../../../utility/loading-emitter'; import { SnackBarService } from "../../../snack-bar/services/snack-bar.service"; import { Sso } from "../../../../commons/schema"; import { TranslateService } from "@ngx-translate/core"; import * as i0 from "@angular/core"; export declare abstract class AbstractLoginSsoComponent implements OnDestroy { protected _config: ConfigurationService; protected _http: HttpClient; protected _snackbar: SnackBarService; protected _log: LoggerService; protected _router: Router; protected _activeRouter: ActivatedRoute; protected _translate: TranslateService; protected _ssoConfig: Sso; protected loading: LoadingEmitter; protected constructor(_config: ConfigurationService, _http: HttpClient, _snackbar: SnackBarService, _log: LoggerService, _router: Router, _activeRouter: ActivatedRoute, _translate: TranslateService); ngOnDestroy(): void; redirectToSso(): void; loginFromCode(params: Params): void; protected getRedirectUrl(): string; protected getToken(body: any): Observable<any>; protected redirectToHome(): void; static ɵfac: i0.ɵɵFactoryDeclaration<AbstractLoginSsoComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<AbstractLoginSsoComponent, "ncc-abstract-login-field", never, {}, {}, never, never, false, never>; }