23 references to PathHelper
Aspire.Hosting (1)
src\Shared\SecretsStore.cs (1)
24_secretsFilePath = PathHelper.GetSecretsPathFromSecretsId(userSecretsId);
Aspire.Hosting.Tests (2)
UserSecretsParameterDefaultTests.cs (2)
53var userSecretsPath = PathHelper.GetSecretsPathFromSecretsId(userSecretsId); 99var userSecretsPath = PathHelper.GetSecretsPathFromSecretsId(userSecretsId);
dotnet-user-jwts (2)
Helpers\JwtStore.cs (1)
17_filePath = Path.Combine(Path.GetDirectoryName(PathHelper.GetSecretsPathFromSecretsId(userSecretsId)), FileName);
Helpers\SigningKeysHandler.cs (1)
62var secretsFilePath = PathHelper.GetSecretsPathFromSecretsId(userSecretsId);
dotnet-user-secrets (1)
Internal\SecretsStore.cs (1)
30_secretsFilePath = PathHelper.GetSecretsPathFromSecretsId(userSecretsId);
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (8)
UserJwtsTestFixture.cs (2)
70Directory.CreateDirectory(Path.GetDirectoryName(PathHelper.GetSecretsPathFromSecretsId(TestSecretsId))); 90var secretsDir = Path.GetDirectoryName(PathHelper.GetSecretsPathFromSecretsId(TestSecretsId));
UserJwtsTests.cs (6)
194var secretsFilePath = PathHelper.GetSecretsPathFromSecretsId(fixture.TestSecretsId); 416var secretsFilePath = PathHelper.GetSecretsPathFromSecretsId(fixture.TestSecretsId); 443var secretsFilePath = PathHelper.GetSecretsPathFromSecretsId(fixture.TestSecretsId); 488var secretsFilePath = PathHelper.GetSecretsPathFromSecretsId(fixture.TestSecretsId); 509var secretsFilePath = PathHelper.GetSecretsPathFromSecretsId(fixture.TestSecretsId); 531var secretsFilePath = PathHelper.GetSecretsPathFromSecretsId(fixture.TestSecretsId);
Microsoft.Extensions.Configuration.UserSecrets (2)
UserSecretsConfigurationExtensions.cs (2)
172return AddSecretsFile(configuration, PathHelper.InternalGetSecretsPathFromSecretsId(userSecretsId, throwIfNoRoot: !optional), optional, reloadOnChange); 186return configuration.AddJsonFile(fileProvider, PathHelper.SecretsFileName, optional, reloadOnChange);
Microsoft.Extensions.SecretManager.Tools.Tests (7)
SecretManagerTests.cs (5)
176Assert.Contains(string.Format(CultureInfo.InvariantCulture, "Secrets file path {0}.", PathHelper.GetSecretsPathFromSecretsId(secretId)), _console.GetOutput()); 183Assert.Contains(string.Format(CultureInfo.InvariantCulture, "Secrets file path {0}.", PathHelper.GetSecretsPathFromSecretsId(secretId)), _console.GetOutput()); 217var secretsFile = PathHelper.GetSecretsPathFromSecretsId(secretId); 230var secretsFile = PathHelper.GetSecretsPathFromSecretsId(id); 246var secretsFile = PathHelper.GetSecretsPathFromSecretsId(secretId);
UserSecretsTestFixture.cs (2)
19_disposables.Push(() => TryDelete(Path.GetDirectoryName(PathHelper.GetSecretsPathFromSecretsId(TestSecretsId)))); 72var secretsDir = Path.GetDirectoryName(PathHelper.GetSecretsPathFromSecretsId(id));