| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
OAuthFilter
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Initalize Oauth filter wiht a tupple or list of tupples::
(path, consumer, token, signaturemethod)
token and method signature are optionnals. Consumer should be an
instance of `oauth2.Consumer`, token an instance of `oauth2.Toke`
signature method an instance of `oauth2.SignatureMethod`.
With a list of tupple, the filter will try to match the path with
the rule. It allows you to maintain different authorization per
path. A wildcard at the indicate to the filter to match all path
behind.
Example the rule::
/some/resource/*
will match :
/some/resource/other
/some/resource/other2
while the rule `/some/resource` will only match the path
`/some/resource`.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Mon Mar 8 08:52:45 2010 | http://epydoc.sourceforge.net |