@nebular/security
Version:
@nebular/security
14 lines (13 loc) • 393 B
TypeScript
/**
* @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[]>;
}