ProtectedLocalStorage(IJSRuntime, IDataProtectionProvider) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs an instance of ProtectedLocalStorage.
public:
ProtectedLocalStorage(Microsoft::JSInterop::IJSRuntime ^ jsRuntime, Microsoft::AspNetCore::DataProtection::IDataProtectionProvider ^ dataProtectionProvider);
public ProtectedLocalStorage (Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.AspNetCore.DataProtection.IDataProtectionProvider dataProtectionProvider);
new Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedLocalStorage : Microsoft.JSInterop.IJSRuntime * Microsoft.AspNetCore.DataProtection.IDataProtectionProvider -> Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.ProtectedLocalStorage
Public Sub New (jsRuntime As IJSRuntime, dataProtectionProvider As IDataProtectionProvider)
Parameters
- jsRuntime
- IJSRuntime
The IJSRuntime.
- dataProtectionProvider
- IDataProtectionProvider