Repository URL to install this package:
import { OnInit, OnDestroy } from '@angular/core';
import { NGXLogger } from 'web-console-core';
import { SortDescriptor, GroupDescriptor, DataResult } from '@progress/kendo-data-query';
import { PageChangeEvent, GridComponent } from '@progress/kendo-angular-grid';
import { Oauth2Service, RefreshToken, AccessToken } from '@wa-motif-open-api/oauth2-service';
import { DomainSelectorComboBoxComponent } from '../../../components/UI/selectors/domain-selector-combobox-component';
import { Domain } from '@wa-motif-open-api/platform-service';
import { WCNotificationCenter } from 'web-console-ui-kit';
export declare class OAuth2SectionComponent implements OnInit, OnDestroy {
private logger;
private oauth2Service;
private notificationCenter;
_grid: GridComponent;
domainSelector: DomainSelectorComboBoxComponent;
refreshTokenList: Array<RefreshToken>;
accessTokenList: Array<AccessToken>;
sort: SortDescriptor[];
groups: GroupDescriptor[];
gridView: DataResult;
type: 'numeric' | 'input';
pageSize: number;
skip: number;
currentPage: number;
totalPages: number;
totalRecords: number;
isFieldSortable: boolean;
loading: boolean;
private _subHandler;
constructor(logger: NGXLogger, oauth2Service: Oauth2Service, notificationCenter: WCNotificationCenter);
ngOnInit(): void;
ngOnDestroy(): void;
freeMem(): void;
pageChange({ skip, take }: PageChangeEvent): void;
private loadData;
private calculatePageIndex;
private buildQuerySort;
/**
* Reload the list of users for the selected domain
*/
refreshData(): void;
/**
* Set the selcted domain
*/
selectedDomain: Domain;
sortChange(sort: SortDescriptor[]): void;
doSort(): void;
onDeleteOKPressed(dataItem: any): void;
onDeleteCancelPressed(dataItem: any): void;
onDomainSelected(domain: Domain): void;
onRefreshClicked(): void;
readonly canRefresh: boolean;
}