leaf-framework
Version:
Light Everis Angular Frontend Framework
16 lines (15 loc) • 588 B
TypeScript
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;
}