Hi
I'm working on a TG2 project and I need authentication. As I've
created my project with Authorize/Identity I see I already have all
the stuff defined in my controller, models and middleware.
I've created an user using DBMechanic and some groups / permissions
and the predefined examples (@authorize decorators in controllers) are
working fine.

But where I can find some documentation about the API? I mean, where I
can access the name of the logged in user, if any? I think I can
create some methods in the User class defined in identity.py model ...
but I don't know how authorize stores those objects and let me access
them.

Any advice?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to