4 writes to Type
Aspire.Hosting.Azure.EntraId.Tests (4)
EntraIdPolyglotTests.cs (4)
346new EntraIdExternalApiPermission { Name = "User.Read.All", Type = EntraIdPermissionType.Application } 351new EntraIdExternalApiPermission { Name = "items.write", Type = EntraIdPermissionType.Application, Id = permissionId.ToString() } 357new EntraIdExternalApiPermission { Name = "User.Read.All", Type = EntraIdPermissionType.Application } 463var undefinedType = new EntraIdExternalApiPermission { Name = "User.Read.All", Type = (EntraIdPermissionType)2 };
3 references to Type
Aspire.Hosting.Azure.EntraId (3)
EntraIdResourceExtensions.cs (3)
2542return (permission.Type ?? EntraIdPermissionType.Delegated, id) switch 2548_ => throw new ArgumentOutOfRangeException(nameof(permissions), permission.Type, $"'{permission.Type}' is not a defined {nameof(EntraIdPermissionType)} value.")