Co-authored-by: Raghunandan Balachandran <meetraghu28@gmail.com> Co-authored-by: Ben Lambert <ben@blam.sh>
id, title
| id | title |
|---|---|
| README | Utility API References |
The following is a list of all Utility APIs defined by @backstage/core. They
are available to use by plugins and components, and can be accessed using the
useApi hook, also provided by @backstage/core. For more information, see
https://github.com/spotify/backstage/blob/master/docs/api/utility-apis.md.
alert
Used to report alerts and forward them to the app
Implemented type: AlertApi
ApiRef: alertApiRef
appTheme
API Used to configure the app theme, and enumerate options
Implemented type: AppThemeApi
ApiRef: appThemeApiRef
config
Used to access runtime configuration
Implemented type: Config
ApiRef: configApiRef
error
Used to report errors and forward them to the app
Implemented type: ErrorApi
ApiRef: errorApiRef
featureFlags
Used to toggle functionality in features across Backstage
Implemented type: FeatureFlagsApi
ApiRef: featureFlagsApiRef
githubAuth
Provides authentication towards Github APIs
Implemented types: OAuthApi, ProfileInfoApi, BackstageIdentityApi, SessionStateApi
ApiRef: githubAuthApiRef
gitlabAuth
Provides authentication towards Gitlab APIs
Implemented types: OAuthApi, ProfileInfoApi, BackstageIdentityApi, SessionStateApi
ApiRef: gitlabAuthApiRef
googleAuth
Provides authentication towards Google APIs and identities
Implemented types: OAuthApi, OpenIdConnectApi, ProfileInfoApi, BackstageIdentityApi, SessionStateApi
ApiRef: googleAuthApiRef
identity
Provides access to the identity of the signed in user
Implemented type: IdentityApi
ApiRef: identityApiRef
oauth2
Example of how to use oauth2 custom provider
Implemented types: OAuthApi, OpenIdConnectApi, ProfileInfoApi, SessionStateApi
ApiRef: oauth2ApiRef
oauthRequest
An API for implementing unified OAuth flows in Backstage
Implemented type: OAuthRequestApi
ApiRef: oauthRequestApiRef
oktaAuth
Provides authentication towards Okta APIs
Implemented types: OAuthApi, OpenIdConnectApi, ProfileInfoApi, BackstageIdentityApi, SessionStateApi
ApiRef: oktaAuthApiRef
storage
Provides the ability to store data which is unique to the user
Implemented type: StorageApi
ApiRef: storageApiRef