mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
expose api service urls
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user