You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IUserRepository needs to support async. If I want my repository to be in the browser's local storage or in a SQL Lite database, async methods need to be supported
Support Blazor applications by adding a "LocalStorageUserRepository". With the updated 4.0 release, its been difficult to use this library in a blazor web assembly application. In 3.7, I was able to create my own ways, but finding it more difficult in 4.0. For example, I was able to get a Refresh my tokens by just passing in the ID Token and Refresh Token. I'm not able to do this now as I have to go through the IUserRepository.
One solution that would help is you currently have a FilerUserRepository. Here is an example of using LocalStorage In the browser.
This is using the Blazored.LocalStorage Nuget Package
it uses your "UserDal" class for storing
Note that LocalStorage requires async, so I had to force them to be sync instad of async.
That's something that would require a bigger rewrite, since the repository code if now used (AFAIK) in some constructors and properties (getters / setters). So introducing async would right now be a lot of work which I don't really have capacity for
Here are my 2 request:
One solution that would help is you currently have a FilerUserRepository. Here is an example of using LocalStorage In the browser.
The text was updated successfully, but these errors were encountered: