If it helps, here’s a working example of a “hello world”: https://github.com/pauleveritt/pyramid_satellizer <https://github.com/pauleveritt/pyramid_satellizer>
- pyramid_jwtauth - A couple of protected and non-protected views - A frontend that uses Angular (and satellizer) to manage JWT authentication dance - For fun, CORS to let the frontend run on a different server:port —Paul > On Jan 11, 2016, at 7:06 AM, Krishnakant <[email protected]> wrote: > > Dear all, > I have been reading about securing REST APis in Pyramid using > pyramid.security. > I had a lot of help and guidance from the irc channel #pyramid for a major > part. > So I have decided to go with JWT using Pyramid's jwd plugin. > What I am not able to do is implement the same using a RESTful view class. > I will have a view_default decorator on top of the class and then checking > for request_method = "get ..." for all the CRUD verbs. > I wish to know how I can do the jwt stuff in this mannter. > The documentation on the jwt plugin does not give more insight into this. > Besides, I am using Cornice for my APi, but if Cornice does not fit well in > the scheme of things then for the authentication and authorization, I may as > well go with standard classes. > Any help will be appreciated. > Happy hacking. > Krishnakant. > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/pylons-discuss. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
