Support the ongoing development of Laravel.io →
posted 10 years ago
Authentication
Last updated 2 years ago.
0

No answer? Well I went ahead and add a web services call to retrieve the user by id and loginid. It is working fine.

However, I want to use a custom User object to hold a server side sessionid. I've tried to extend the default User model with no luck.

Can someone please tell me how to extend the User model? Keep in mind that I don't use Eloquent. There is no database on the server; instead I access data and functionality on another host via soap/xml calls.

Also once I have an extended User model, how can I call a method on it from the validateCredentials() method in my custom auth provider?

Last updated 2 years ago.
0

Hi, your post is a year old, but i'm in your exact situation now and i'm wondering if you can explain how you solved it?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

bschooly bschooly Joined 1 Oct 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.