Files
backstage/docs/reference/utility-apis
Stefan Ålund c6c3c94c18 Camelcase GitHub and GitLab (#2034)
* Camelcase GitHub and GitLab

* GitLab

* Code GitLab

* GitHub in code

* Fix auth naming

* Update docs/features/software-templates/adding-templates.md

Co-authored-by: Raghunandan Balachandran <soapraj@gmail.com>

* Update docs/features/software-templates/extending/create-your-own-preparer.md

Co-authored-by: Raghunandan Balachandran <soapraj@gmail.com>

Co-authored-by: Raghunandan Balachandran <soapraj@gmail.com>
2020-08-21 14:48:16 +02:00
..
2020-08-21 14:48:16 +02:00

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