Skip to content

Commit

Permalink
Add UiApi to SecurityPluginStart interface
Browse files Browse the repository at this point in the history
  • Loading branch information
yakhinvadim committed Jun 10, 2021
1 parent e152365 commit 8ec9379
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions x-pack/plugins/security/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import type { SecurityNavControlServiceStart } from './nav_control';
import { SecurityNavControlService } from './nav_control';
import { SecurityCheckupService } from './security_checkup';
import { SessionExpired, SessionTimeout, UnauthorizedResponseHttpInterceptor } from './session';
import type { UiApi } from './ui_api';
import { getUiApi } from './ui_api';

export interface PluginSetupDependencies {
Expand Down Expand Up @@ -186,4 +187,8 @@ export interface SecurityPluginStart {
* Exposes authentication information about the currently logged in user.
*/
authc: AuthenticationServiceStart;
/**
* Exposes UI components that will be loaded asynchronously.
*/
uiApi: UiApi;
}

0 comments on commit 8ec9379

Please sign in to comment.