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.