@dbg-riskit/angular-testing
Version:
17 lines (16 loc) • 808 B
TypeScript
import { RouterStateSnapshot } from '@angular/router';
import { AuthConfig, AuthRoutingFlowService, AuthService } from '@dbg-riskit/angular-auth';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare const storage: {
authRequestedPath: string | null;
};
export declare class AuthRoutingFlowServiceStub extends AuthRoutingFlowService {
private authServiceStub;
constructor(authServiceStub: AuthService, authConfig: AuthConfig);
logout(state?: RouterStateSnapshot): Observable<boolean>;
login(username?: string, password?: string): Observable<boolean>;
loginViaService(): Observable<boolean>;
static ɵfac: i0.ɵɵFactoryDeclaration<AuthRoutingFlowServiceStub, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<AuthRoutingFlowServiceStub>;
}