expose api service urls

This commit is contained in:
Kyle Spearrin 2018-06-13 22:12:23 -04:00
parent 755f8f93ec
commit 4bce071498
2 changed files with 4 additions and 2 deletions

View File

@ -24,6 +24,8 @@ import { AttachmentView } from '../models/view/attachmentView';
export abstract class ApiService { export abstract class ApiService {
urlsSet: boolean; urlsSet: boolean;
apiBaseUrl: string;
identityBaseUrl: string;
setUrls: (urls: EnvironmentUrls) => void; setUrls: (urls: EnvironmentUrls) => void;
postIdentityToken: (request: TokenRequest) => Promise<IdentityTokenResponse | IdentityTwoFactorResponse>; postIdentityToken: (request: TokenRequest) => Promise<IdentityTokenResponse | IdentityTwoFactorResponse>;

View File

@ -29,9 +29,9 @@ import { SyncResponse } from '../models/response/syncResponse';
export class ApiService implements ApiServiceAbstraction { export class ApiService implements ApiServiceAbstraction {
urlsSet: boolean = false; urlsSet: boolean = false;
apiBaseUrl: string;
identityBaseUrl: string;
private apiBaseUrl: string;
private identityBaseUrl: string;
private deviceType: string; private deviceType: string;
private isWebClient = false; private isWebClient = false;
private usingBaseUrl = false; private usingBaseUrl = false;