1 write to Name
Aspire.Hosting.Azure.EntraId (1)
EntraIdApi.cs (1)
360
Name
= name;
14 references to Name
Aspire.Hosting.Azure.EntraId (13)
EntraIdApi.cs (3)
353
/// scope's <see cref="
Name
"/>. Microsoft Graph does not allow a scope to be removed, or its name to change, while it is enabled.
376
/// Gets or sets the scope's title, shown on the admin consent page. Defaults to <see cref="
Name
"/>.
445
new(EntraIdPermissionType.Delegated, scope.
Name
, null, owner, scope);
EntraIdApplicationResource.cs (5)
219
$"'{Name}' declares permissions to the scope '{scope.
Name
}' of '{access.DisplayName}', but the scope is disabled, so clients can't request it. " +
229
$"'{Name}' pre-authorizes '{preAuthorized.Client.Name}' for the scope '{scope.
Name
}', but the scope is disabled, so clients can't request it. " +
835
if (!_scopes.Any(s => string.Equals(s.
Name
, scopeName, StringComparison.Ordinal)))
869
$"The ID of scope '{scope.
Name
}' of the existing registration '{Name}' is unknown. Set EntraIdScope.Id to the ID that the registration defines.");
873
XxHash128.Hash(Encoding.UTF8.GetBytes($"{Name}/{scope.
Name
}"), hash);
EntraIdResourceExtensions.cs (4)
1663
if (resource.Scopes.Any(s => string.Equals(s.
Name
, name, StringComparison.OrdinalIgnoreCase)))
1958
var scope = api.Scopes.FirstOrDefault(s => string.Equals(s.
Name
, name, StringComparison.Ordinal))
1961
$"Exposed scopes: {(api.Scopes.Count == 0 ? "none" : string.Join(", ", api.Scopes.Select(s => s.
Name
)))}.",
2227
var exposedScopes = entra.Scopes.Where(static s => s.IsEnabled).Select(static s => s.
Name
).ToArray();
Provisioning\EntraIdApiProvisioning.cs (1)
94
Value = scope.
Name
,
Aspire.Hosting.Azure.EntraId.Tests (1)
EntraIdApiProvisioningTests.cs (1)
186
Assert.Equal(name, Assert.Single(api.Resource.Scopes).
Name
);