UNPKG

@okta/okta-angular

Version:
18 lines (17 loc) 975 B
import { TemplateRef, ViewContainerRef, OnInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; import { OktaAuthStateService, Groups } from './services/auth-state.service'; import * as i0 from "@angular/core"; export declare class OktaHasAnyGroupDirective implements OnInit, OnChanges, OnDestroy { private templateRef; private viewContainer; private authStateService; private groupsSub$; private destroySub$; constructor(templateRef: TemplateRef<any>, viewContainer: ViewContainerRef, authStateService: OktaAuthStateService); oktaHasAnyGroup: Groups; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<OktaHasAnyGroupDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<OktaHasAnyGroupDirective, "[oktaHasAnyGroup]", never, { "oktaHasAnyGroup": { "alias": "oktaHasAnyGroup"; "required": false; }; }, {}, never, never, false, never>; }