Skip to main content
Version: Next

createRouter()

Home > @backstage/plugin-permission-backend > createRouter

Warning: This API is now obsolete.

Please migrate to the new backend system as this will be removed in the future.

Creates a new which provides the backend API for the permission system.

Signature:

function createRouter(options: RouterOptions): Promise<express.Router>;

Parameters

Parameter

Type

Description

options

RouterOptions

**Returns:**

Promise<express.Router>