4 writes to Id
Aspire.Hosting.Azure.EntraId.Tests (4)
EntraIdPolyglotTests.cs (4)
338Id = scopeId.ToString() 405.WithScopeForExport("orders.read", "Read orders.", new EntraIdScopeOptions { Id = scopeId.ToString() }); 436.WithScopeForExport("orders.read", "Read orders.", new EntraIdScopeOptions { Id = "11112222-aaaa-3333-bbbb-4444cccc5555" }); 450Assert.Throws<ArgumentException>(() => api.WithScopeForExport("other", "Other.", new EntraIdScopeOptions { Id = "not-a-guid" }));
3 references to Id
Aspire.Hosting.Azure.EntraId (3)
EntraIdResourceExtensions.cs (3)
2160if (options.Id is not null) 2162scope.Id = Guid.TryParse(options.Id, out var id) 2164: throw new ArgumentException($"'{options.Id}' is not a valid scope ID. Scope IDs must be GUIDs.", nameof(options));