1 write to _purpose
Microsoft.AspNetCore.Components.Server.Tests (1)
ProtectedBrowserStorageTest.cs (1)
317_purpose = purpose;
3 references to _purpose
Microsoft.AspNetCore.Components.Server.Tests (3)
ProtectedBrowserStorageTest.cs (3)
329var fakeProtectedString = $"{ProtectionPrefix(_purpose)}{plaintextString}"; 338var expectedPrefix = ProtectionPrefix(_purpose); 341throw new ArgumentException($"The value is not protected with the expected purpose '{_purpose}'. Value supplied: '{protectedString}'", nameof(protectedData));