File

C:/GoDev/src/TCSTK-Angular/projects/tibco-tcstk/tc-core-lib/src/lib/interfaces/tc-core-configuration.ts

Implements

TcCoreConfiguration

Index

Properties

Constructor

constructor(oAuthLocalStorageKey?: string, proxy_url?: string, proxy_liveapps_path?: string, proxy_tce_path?: string, api_key?: string, api_key_param?: string, enable_tce?: boolean, disableFormLibs?: boolean)
Parameters :
Name Type Optional
oAuthLocalStorageKey string Yes
proxy_url string Yes
proxy_liveapps_path string Yes
proxy_tce_path string Yes
api_key string Yes
api_key_param string Yes
enable_tce boolean Yes
disableFormLibs boolean Yes

Properties

api_key
Type : string
api_key_param
Type : string
Optional disableFormLibs
Type : boolean
enable_tce
Type : boolean
oAuthLocalStorageKey
Type : string
proxy_liveapps_path
Type : string
proxy_tce_path
Type : string
proxy_url
Type : string
import {InjectionToken} from '@angular/core';

export interface TcCoreConfiguration {
  disableFormLibs?: boolean;
  oAuthLocalStorageKey: string;
  proxy_url: string;
  proxy_liveapps_path: string;
  proxy_tce_path: string;
  api_key: string;
  api_key_param: string;
  enable_tce: boolean;
}

export class TcCoreConfig implements TcCoreConfiguration {
  disableFormLibs?: boolean;
  oAuthLocalStorageKey: string;
  proxy_url: string;
  proxy_liveapps_path: string;
  proxy_tce_path: string;
  api_key: string;
  api_key_param: string;
  enable_tce: boolean;
  constructor(
    oAuthLocalStorageKey?: string,
    proxy_url?: string,
    proxy_liveapps_path?: string,
    proxy_tce_path?: string,
    api_key?: string,
    api_key_param?: string,
    enable_tce?: boolean,
    disableFormLibs?: boolean) {
    this.disableFormLibs = (disableFormLibs !== undefined) ? disableFormLibs : false;
    this.oAuthLocalStorageKey = oAuthLocalStorageKey;
    this.proxy_url = proxy_url;
    this.proxy_liveapps_path = proxy_liveapps_path;
    this.proxy_tce_path = proxy_tce_path;
    this.api_key = api_key;
    this.api_key_param = api_key_param;
    this.enable_tce = enable_tce;
  }
}

export const TcCoreConfigurationService = new InjectionToken<TcCoreConfiguration>('TcCoreConfiguration');

result-matching ""

    No results matching ""