UNPKG

leaf-framework

Version:
16 lines (15 loc) 588 B
import { Http } from '@angular/http'; import { Observable } from 'rxjs/Observable'; import { ApiConfig } from 'base-api-service'; import 'rxjs/add/operator/map'; import { AuthService } from './auth.service'; import { AuthHelper } from './auth.helper'; export declare class OAuthService implements AuthService { private http; private apiConfig; private authHelper; constructor(http: Http, apiConfig: ApiConfig, authHelper: AuthHelper); getServiceUrl(): string; login(username: string, password: string): Observable<any> | null; logout(): void; }