@progress/telerik-common-report-viewer
Version:
Common code for Progress® Telerik® Report Viewer
19 lines (18 loc) • 915 B
TypeScript
/** The settings used when the viewer connects to a report server instance with user credentials. */
export declare class ReportServerSettings {
/** The URL of the report server instance. */
url: string;
/** The username to authenticate with the report server. */
username: string;
/** The password to authenticate with the report server. */
password: string;
constructor(url: string, username: string, password: string);
}
/** The settings used when the viewer connects to a report server instance with personal access token. */
export declare class ReportServerTokenSettings {
/** The URL of the report server instance. */
url: string;
/** The callback function which will provide the personal access token as resolved promise. */
getPersonalAccessToken: () => Promise<any>;
constructor(url: string, getPersonalAccessToken: () => Promise<any>);
}