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);
462
api.Resource.Scopes[0].
IsEnabled
= false;
482
api.Resource.Scopes[0].
IsEnabled
= false;
502
existingApi.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)
216
foreach (var scope in access.Declared.Select(static p => p.Scope).OfType<EntraIdScope>().Where(static s => !s.
IsEnabled
))
226
foreach (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.
1964
if (!scope.
IsEnabled
)
2227
var exposedScopes = entra.Scopes.Where(static s => s.
IsEnabled
).Select(static s => s.Name).ToArray();
Provisioning\EntraIdApiProvisioning.cs (1)
96
IsEnabled = scope.
IsEnabled
,