@backstage/plugin-auth-backend
Home > @backstage/plugin-auth-backend
A Backstage backend plugin that handles authentication
Classes
Class |
Description |
---|---|
A catalog client tailored for reading out identity data from the catalog. | |
Functions
Function |
Description |
---|---|
Creates a standardized representation of an integration with a third-party auth provider. The returned object facilitates the creation of provider instances, and supplies built-in sign-in resolvers for the specific provider. | |
Uses the default ownership resolution logic to return an array of entity refs that the provided entity claims ownership through. A reference to the entity itself will also be included in the returned array. | |
Interfaces
Interface |
Description |
---|---|
Variables
Variable |
Description |
---|---|
Auth plugin | |
All auth provider factories that are installed by default. | |
All built-in auth provider integrations. | |
Type Aliases
Type Alias |
Description |
---|---|
The AuthHandler function is called every time the user authenticates using the provider. The handler should return a profile that represents the session for the user in the frontend. Throwing an error in the function will cause the authentication to fail, making it possible to use this function as a way to limit access to a certain group of users. | |
The return type of an authentication handler. Must contain valid profile information. | |
The result of the initial auth challenge. This is the input to the auth callbacks. | |
CloudflareAccessClaims Can be used in externally provided auth handler or sign in resolver to enrich user profile for sign-in user entity | |
CloudflareAccessGroup | |
CloudflareAccessIdentityProfile Can be used in externally provided auth handler or sign in resolver to enrich user profile for sign-in user entity | |
The result of the initial auth challenge. This is the input to the auth callbacks. | |
The data extracted from an IAP token. | |
Common options for passport.js-based OAuth providers | |