mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +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 {
|
||||
urlsSet: boolean;
|
||||
apiBaseUrl: string;
|
||||
identityBaseUrl: string;
|
||||
|
||||
setUrls: (urls: EnvironmentUrls) => void;
|
||||
postIdentityToken: (request: TokenRequest) => Promise<IdentityTokenResponse | IdentityTwoFactorResponse>;
|
||||
|
@ -29,9 +29,9 @@ import { SyncResponse } from '../models/response/syncResponse';
|
||||
|
||||
export class ApiService implements ApiServiceAbstraction {
|
||||
urlsSet: boolean = false;
|
||||
apiBaseUrl: string;
|
||||
identityBaseUrl: string;
|
||||
|
||||
private apiBaseUrl: string;
|
||||
private identityBaseUrl: string;
|
||||
private deviceType: string;
|
||||
private isWebClient = false;
|
||||
private usingBaseUrl = false;
|
||||
|
Loading…
Reference in New Issue
Block a user