1 write to Type
Aspire.Hosting.Azure.EntraId (1)
EntraIdApi.cs (1)
265
Type
= type;
7 references to Type
Aspire.Hosting.Azure.EntraId (7)
EntraIdApi.cs (7)
208
var known = permission.
Type
== EntraIdPermissionType.Delegated ? _delegatedPermissions : _applicationPermissions;
218
$"The {FormatType(permission.
Type
)} permission '{permission.Name}' of {DisplayName} has the ID '{catalogId:D}', not '{explicitId:D}'.",
227
$"The ID '{explicitId:D}' is the {FormatType(permission.
Type
)} permission '{otherName}' of {DisplayName}, not '{permission.Name}'.",
231
return EntraIdResolvedPermission.Fixed(permission.
Type
, canonicalName, explicitId);
236
return EntraIdResolvedPermission.Fixed(permission.
Type
, canonicalName, resolvedId);
240
? $"The {FormatType(permission.
Type
)} permission '{permission.Name}' is not one of the permissions that Aspire knows for {DisplayName}: " +
243
: $"{DisplayName} has no well-known permissions. Pass the ID of the {FormatType(permission.
Type
)} permission '{permission.Name}' as well.";