mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-28 12:45:45 +01:00
expose api service urls
This commit is contained in:
parent
755f8f93ec
commit
4bce071498
@ -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>;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user