5 writes to AutoGenerateKeys
Microsoft.AspNetCore.DataProtection (2)
DataProtectionBuilderExtensions.cs (1)
156
options.
AutoGenerateKeys
= false;
Internal\KeyManagementOptionsPostSetup.cs (1)
77
options.
AutoGenerateKeys
= false;
Microsoft.AspNetCore.DataProtection.Tests (3)
KeyManagement\KeyRingProviderTests.cs (3)
261
keyManagementOptions: new KeyManagementOptions() {
AutoGenerateKeys
= false });
345
keyManagementOptions: new KeyManagementOptions() {
AutoGenerateKeys
= false });
383
keyManagementOptions: new KeyManagementOptions() {
AutoGenerateKeys
= false });
12 references to AutoGenerateKeys
Microsoft.AspNetCore.DataProtection (2)
DataProtectionBuilderExtensions.cs (1)
147
/// Calling this API corresponds to setting <see cref="KeyManagementOptions.
AutoGenerateKeys
"/>
KeyManagement\KeyRingProvider.cs (1)
51
_autoGenerateKeys = options.
AutoGenerateKeys
;
Microsoft.AspNetCore.DataProtection.Tests (10)
Internal\KeyManagementOptionsPostSetupTest.cs (8)
52
Assert.True(options.
AutoGenerateKeys
);
71
Assert.True(options.
AutoGenerateKeys
);
96
Assert.True(options.
AutoGenerateKeys
);
123
Assert.True(options.
AutoGenerateKeys
);
139
Assert.True(options.
AutoGenerateKeys
);
153
Assert.True(options.
AutoGenerateKeys
);
159
Assert.False(options.
AutoGenerateKeys
);
178
Assert.True(options.
AutoGenerateKeys
);
ServiceCollectionTests.cs (2)
91
Assert.False(options.
AutoGenerateKeys
);
124
Assert.True(options.
AutoGenerateKeys
);