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