I derived my CustomUserAuth from UserAuth
Then in my Xamarin Apps I use ssutil.exe to have access to my DTOS.
So now I need to include ServiceStack in my xamarin apps. I think it’s not suppose to…
Should I implement my CustomUserAuth base on IUserAuth in my backend instead of derive it from UserAuth ?
I created a service in my Backend so the Xamarin Apps can retrieved and update my CustomUserAuth and another one-to-one table for extra details…
using System;
using ServiceStack.Auth;
namespace LanBO.ServiceStack
{
public class CustomUserAuth: UserAuth <----- IUserAuth
{
public CustomUserAuth()
{
RowId = Guid.NewGuid();
}
//public virtual string Password { get; set; }
public virtual int AuthenticatedTimes { get; set; }
public Guid RowId { get; set; }
}
}
Thanks!