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)
329
var fakeProtectedString = $"{ProtectionPrefix(
_purpose
)}{plaintextString}";
338
var expectedPrefix = ProtectionPrefix(
_purpose
);
341
throw new ArgumentException($"The value is not protected with the expected purpose '{
_purpose
}'. Value supplied: '{protectedString}'", nameof(protectedData));