mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
[security-in-core] flag APIs as deprecated (#184827)
## Summary Part of https://github.com/elastic/kibana/issues/174578 Flag as deprecated the APIs from the security plugin that are now re-exposed from Core
This commit is contained in:
parent
a03f3bce7d
commit
4b5b00f6c6
2 changed files with 12 additions and 0 deletions
|
@ -14,6 +14,8 @@ import type { UserProfileAPIClient } from './user_profile';
|
||||||
export interface SecurityPluginSetup {
|
export interface SecurityPluginSetup {
|
||||||
/**
|
/**
|
||||||
* Exposes authentication information about the currently logged in user.
|
* Exposes authentication information about the currently logged in user.
|
||||||
|
*
|
||||||
|
* @deprecated in favor of Core's `security` service
|
||||||
*/
|
*/
|
||||||
authc: AuthenticationServiceSetup;
|
authc: AuthenticationServiceSetup;
|
||||||
/**
|
/**
|
||||||
|
@ -33,6 +35,8 @@ export interface SecurityPluginStart {
|
||||||
navControlService: SecurityNavControlServiceStart;
|
navControlService: SecurityNavControlServiceStart;
|
||||||
/**
|
/**
|
||||||
* Exposes authentication information about the currently logged in user.
|
* Exposes authentication information about the currently logged in user.
|
||||||
|
*
|
||||||
|
* @deprecated in favor of Core's `security` service
|
||||||
*/
|
*/
|
||||||
authc: AuthenticationServiceStart;
|
authc: AuthenticationServiceStart;
|
||||||
/**
|
/**
|
||||||
|
@ -41,6 +45,8 @@ export interface SecurityPluginStart {
|
||||||
authz: AuthorizationServiceStart;
|
authz: AuthorizationServiceStart;
|
||||||
/**
|
/**
|
||||||
* A set of methods to work with Kibana user profiles.
|
* A set of methods to work with Kibana user profiles.
|
||||||
|
*
|
||||||
|
* @deprecated in favor of Core's `userProfile` service.
|
||||||
*/
|
*/
|
||||||
userProfiles: UserProfileAPIClient;
|
userProfiles: UserProfileAPIClient;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,8 @@ export interface SecurityPluginSetup {
|
||||||
license: SecurityLicense;
|
license: SecurityLicense;
|
||||||
/**
|
/**
|
||||||
* Exposes services for audit logging.
|
* Exposes services for audit logging.
|
||||||
|
*
|
||||||
|
* @deprecated in favor of Core's `security` service
|
||||||
*/
|
*/
|
||||||
audit: AuditServiceSetup;
|
audit: AuditServiceSetup;
|
||||||
/**
|
/**
|
||||||
|
@ -35,6 +37,8 @@ export interface SecurityPluginSetup {
|
||||||
export interface SecurityPluginStart {
|
export interface SecurityPluginStart {
|
||||||
/**
|
/**
|
||||||
* Authentication services to confirm the user is who they say they are.
|
* Authentication services to confirm the user is who they say they are.
|
||||||
|
*
|
||||||
|
* @deprecated in favor of Core's `security` service
|
||||||
*/
|
*/
|
||||||
authc: AuthenticationServiceStart;
|
authc: AuthenticationServiceStart;
|
||||||
/**
|
/**
|
||||||
|
@ -43,6 +47,8 @@ export interface SecurityPluginStart {
|
||||||
authz: AuthorizationServiceSetup;
|
authz: AuthorizationServiceSetup;
|
||||||
/**
|
/**
|
||||||
* User profiles services to retrieve user profiles.
|
* User profiles services to retrieve user profiles.
|
||||||
|
*
|
||||||
|
* @deprecated in favor of Core's `userProfile` service
|
||||||
*/
|
*/
|
||||||
userProfiles: UserProfileServiceStart;
|
userProfiles: UserProfileServiceStart;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue