backend-plugin-api: refactor to remove createHttpPluginRouterMiddleware
Co-authored-by: Fredrik Adelöw <freben@gmail.com> Co-authored-by: Carl-Erik Bergström <cbergstrom@spotify.com> Co-authored-by: blam <ben@blam.sh> Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Request, Response, Handler } from 'express';
|
||||
import { Request, Response } from 'express';
|
||||
import {
|
||||
BackstageUserCredentials,
|
||||
BackstageServiceCredentials,
|
||||
@@ -38,8 +38,6 @@ export type BackstageCredentialTypes = {
|
||||
|
||||
/** @public */
|
||||
export interface HttpAuthService {
|
||||
createHttpPluginRouterMiddleware(): Handler;
|
||||
|
||||
credentials<TAllowed extends keyof BackstageCredentialTypes>(
|
||||
req: Request,
|
||||
options: {
|
||||
|
||||
Reference in New Issue
Block a user