backend-plugin-api: add AuthService.getNoneCredentials

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-02-25 12:09:51 +01:00
parent 9823e313c3
commit 982fc43d68
5 changed files with 25 additions and 0 deletions
@@ -75,6 +75,8 @@ export interface AuthService {
type: TType,
): credentials is BackstageCredentials<BackstagePrincipalTypes[TType]>;
getNoneCredentials(): Promise<BackstageCredentials<BackstageNonePrincipal>>;
getOwnServiceCredentials(): Promise<
BackstageCredentials<BackstageServicePrincipal>
>;