3 writes to FallbackKey
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\DefaultKeyResolver.cs (1)
215
var defaultKey = FindDefaultKey(now, allKeys, out retVal.
FallbackKey
);
Microsoft.AspNetCore.DataProtection.Tests (2)
KeyManagement\KeyRingProviderTests.cs (2)
379
FallbackKey
= key1,
475
FallbackKey
= key2ValidWhenKey1Expires ? null : key2,
7 references to FallbackKey
Microsoft.AspNetCore.DataProtection (2)
KeyManagement\KeyRingProvider.cs (2)
99
var keyToUse = defaultKey ?? defaultKeyPolicy.
FallbackKey
?? keyJustAdded;
138
var keyToUse = defaultKey ?? defaultKeyPolicy.
FallbackKey
;
Microsoft.AspNetCore.DataProtection.Tests (5)
KeyManagement\DefaultKeyResolverTests.cs (5)
202
Assert.Same(key2, resolution.
FallbackKey
);
220
Assert.Same(key2, resolution.
FallbackKey
);
237
Assert.Same(key2, resolution.
FallbackKey
);
305
Assert.Null(resolution.
FallbackKey
);
384
Assert.Same(key1, resolution.
FallbackKey
);