Merge pull request #23993 from backstage/mob/auth-service-to-service

Auth: granular service-to-service tokens
This commit is contained in:
Patrik Oldsberg
2024-04-06 15:41:16 +02:00
committed by GitHub
28 changed files with 911 additions and 79 deletions
@@ -14,6 +14,8 @@
* limitations under the License.
*/
import { JsonObject } from '@backstage/types';
/**
* @public
*/
@@ -91,4 +93,8 @@ export interface AuthService {
getLimitedUserToken(
credentials: BackstageCredentials<BackstageUserPrincipal>,
): Promise<{ token: string; expiresAt: Date }>;
listPublicServiceKeys(): Promise<{
keys: JsonObject[];
}>;
}