7 writes to IsEnabled
Aspire.Hosting.Azure.EntraId.Tests (7)
EntraIdApiProvisioningTests.cs (7)
60.WithScope("orders.write", "Write orders.", scope => scope.IsEnabled = false); 439.WithScope("retired", "Retired.", scope => scope.IsEnabled = false); 462api.Resource.Scopes[0].IsEnabled = false; 482api.Resource.Scopes[0].IsEnabled = false; 502existingApi.Resource.Scopes[0].IsEnabled = false; 640.WithScope("retired", "Retired.", scope => scope.IsEnabled = false); 972.WithScope("retired", "Retired.", scope => { scope.Id = Guid.NewGuid(); scope.IsEnabled = false; })
7 references to IsEnabled
Aspire.Hosting.Azure.EntraId (7)
EntraIdApi.cs (1)
354/// To retire a scope, set <see cref="IsEnabled"/> to <see langword="false"/>, deploy, and then remove the scope in a later deployment.
EntraIdApplicationResource.cs (2)
216foreach (var scope in access.Declared.Select(static p => p.Scope).OfType<EntraIdScope>().Where(static s => !s.IsEnabled)) 226foreach (var scope in preAuthorized.Scopes.Where(static s => !s.IsEnabled))
EntraIdResourceExtensions.cs (3)
1634/// To retire a scope, set <see cref="EntraIdScope.IsEnabled"/> to <see langword="false"/> and deploy, and remove the scope in a later deployment. 1964if (!scope.IsEnabled) 2227var exposedScopes = entra.Scopes.Where(static s => s.IsEnabled).Select(static s => s.Name).ToArray();
Provisioning\EntraIdApiProvisioning.cs (1)
96IsEnabled = scope.IsEnabled,