Oh, I'm new to python so didn't know that.. thanks! On Apr 13, 4:00 pm, Jason Brower <encomp...@gmail.com> wrote: > For the general features I find is very well documented. It's all in > the book and that is available all online or with a purchase. > Additionally, these features are pretty new. I would rather have a > bunch of new features that increase my capabilities, rather than 1 well > documented feature. There are other ways to see the documentation too. > Even from the source code. Like the help(). Method. > Just my 2 cents... > Jason > > On Tue, 2010-04-13 at 03:48 -0700, Ishbir wrote: > > I found all about what I needed... however, I have found that web2py > > is not very well documented. We often have to open up the source > > files. I hope this problem can be resolved in the future. > > > On Apr 13, 2:15 pm, Ishbir <ishbi...@gmail.com> wrote: > > > Hmm.. yeah, that was kind of what I wanted; but isn't there any > > > documentation to better illuminate the alternate authentication > > > methods? > > > > On Apr 12, 8:16 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > auth.settings.actions_disabled.append('register') > > > > > Auth has a pluggable mechanism for alternate authentication methods. > > > > Look into the examples in gluon/contrib/login_methods > > > > > perhaps you want one of these? > > > > > On Apr 12, 9:52 am, Ishbir <ishbi...@gmail.com> wrote: > > > > > > What are the return values and stuff? Which is the method used for > > > > > logging the user in and out; also the method for registering, I want > > > > > it to be disabled. Possible? > > > > > > On Apr 12, 5:59 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > > > Yes. Auth is a class. You can extend it > > > > > > > from gluon.tools import * > > > > > > class MyAuth(Auth): > > > > > > def requires_login(self): ..... > > > > > > > auth=MyAuth(globals(),db) > > > > > > > On Apr 12, 6:21 am, Ishbir <ishbi...@gmail.com> wrote: > > > > > > > > Hey everyone, > > > > > > > > Is it possible to define custom auth methods and override the > > > > > > > existing > > > > > > > methods with our own? For e.g. I am making an application that > > > > > > > authenticates against a remote website not the existing > > > > > > > application. > > > > > > > So, I just want to authenticate remotely and if it is successful, > > > > > > > just > > > > > > > get the user id and store it in session. I already have the code > > > > > > > in C# > > > > > > > to do it, am trying to make it into a web application. No user > > > > > > > information in the db other than the user ID on that site. > > > > > > > > I only need help with remote authentication; I can scrape other > > > > > > > stuff > > > > > > > via regex. I should also be able to use @auth.requires_login() > > > > > > > decorator so as to restrict the functions to the logged in users. > > > > > > > > Is it possible? If not, any way to implement it?
-- To unsubscribe, reply using "remove me" as the subject.