protected override async Task <Entity> FetchAsync(ApiOptions options) { return(await APUsers.GetByIdAsync(this.Id, options : options)); }
public override async Task <UserSession> AuthenticateAsync() { var user = await APUsers.GetUserByTokenAsync(this.Token); return(new UserSession(user, this.Token)); }