UNPKG

@nebular/security

Version:
14 lines (13 loc) 393 B
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { Observable } from 'rxjs'; export declare abstract class NbRoleProvider { /** * Returns current user role * @returns {Observable<string | string[]>} */ abstract getRole(): Observable<string | string[]>; }