BackstageUserPrincipal
Home > @backstage/backend-plugin-api
> BackstageUserPrincipal
Represents a user principal (for example when a user Backstage token issued by the auth backend was given to a request).
Signature:
export type BackstageUserPrincipal = {
type: 'user';
userEntityRef: string;
};
Remarks
Additional information about the user can be fetched using the UserInfoService.