UNPKG

714 BTypeScriptView Raw
1import { Router } from '@angular/router';
2import { Storage } from '@ubud/storage';
3import { Config } from '../values/config';
4import { User } from '../models/user';
5import { Observable } from 'rxjs';
6import { HttpClient } from '@angular/common/http';
7import { Location } from '@angular/common';
8import { NacoService } from './naco.service';
9export declare class NacoExpressService extends NacoService {
10 private request;
11 private response;
12 constructor(config: Config, router: Router, storage: Storage, http: HttpClient, location: Location, request: any, response: any);
13 refreshWithSilentAuth(): Observable<User | null>;
14 getCurrentOrigin(path?: string): string;
15 redirect(url: string): void;
16}