import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { Store } from '@ngxs/store'; import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router'; import { NzMessageService } from 'ng-zorro-antd/message'; import { ACLService } from '@delon/acl'; export declare class AuthenticationService implements CanActivate { httpClient: HttpClient; store: Store; router: Router; message: NzMessageService; aclService: ACLService; appState$: Observable | undefined; authentication: any; constructor(httpClient: HttpClient, store: Store, router: Router, message: NzMessageService, aclService: ACLService); /** * * @param route 路由 * @param state 路由状态 */ canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean; login(userName: string, password: string): Observable; logout(): Observable; signOn(token: string): Promise; signOnByCallerId(callerId: string, qywxUserName?: string, qywxPhoneNumber?: string): Promise; isLogin(): boolean; getTouristId(): any; /** * 获取游客信息,非登录条件下移动端访问 */ getTouristInfo(): any; getCurrentUserInfo(): any; getCurrentRoles(): any; getCurrentPermissions(): any; getDictionaryDatas(): any; getPermsFromTree(treeNode: [], perms: any): any; getStatusByDictTypeAndDictValue(dictType: string, dictValue: string): boolean; }