-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I encountered an error when trying to login with Pocketbaseclient. Below are the details:
services.AddSingleton(s => new BlazorPocketApplication());
var result = await PocketbaseClient.Auth.User.AuthenticateWithPasswordAsync(model.Email, model.Paswsword);namespace PocketBaseClient.BlazorPocket
{
public partial class BlazorPocketApplication : PocketBaseClientApplication
{
private AppDataService? _Data = null;
/// <summary> Access to Data for Application Acme </summary>
public AppDataService Data => _Data ??= new AppDataService(this);
private AppAuthService? _Auth = null;
/// <summary> Access to Auth for Application Acme </summary>
public new AppAuthService Auth => _Auth ??= new AppAuthService(this);
#region Constructors
public BlazorPocketApplication() : this("http://localhost:8090") { }
public BlazorPocketApplication(string url, string appName = "BlazorPocketApp") : base(url, appName) { }
#endregion Constructors
}
}Metadata
Metadata
Assignees
Labels
No labels
