1 write to Value
Aspire.Hosting.Azure.EntraId (1)
EntraIdAppRole.cs (1)
60
Value
= value;
10 references to Value
Aspire.Hosting.Azure.EntraId (7)
EntraIdApplicationResource.cs (2)
430
var role = AppRoles.SingleOrDefault(role => string.Equals(role.
Value
, value, StringComparison.Ordinal))
850
Value = role.
Value
,
EntraIdAppRole.cs (1)
119
var hash = XxHash128.Hash(Encoding.UTF8.GetBytes($"aspire-entra-app-role/{applicationName}/{
Value
}"));
EntraIdResourceExtensions.cs (3)
1933
if (roles.Any(r => string.Equals(r.
Value
, role.
Value
, StringComparison.Ordinal)))
1935
throw new ArgumentException($"An application role with the value '{role.
Value
}' is already declared.", nameof(role));
Provisioning\EntraIdSymbolNames.cs (1)
61
Get(identity, $"RoleAssignment:{roleId:N}", $"{StartWithLetter(Infrastructure.NormalizeBicepIdentifier(identity.Name))}{ToPascalCase(role.
Value
)}RoleAssignment");
Aspire.Hosting.Azure.EntraId.Tests (3)
EntraIdPolyglotTests.cs (1)
618
Assert.Equal("Read", assignment.Role.
Value
);
EntraIdProvisioningTests.cs (2)
323
Assert.Equal(value, new EntraIdAppRole(value, "Name", "Description.").
Value
);
330
Assert.Equal(120, new EntraIdAppRole(new string('a', 120), "Name", "Description.").
Value
.Length);