Part of lp.services.oauth.interfaces View In Hierarchy
Method | new | Return the newly created consumer. |
Method | getByKey | Return the consumer with the given key. |
You must make sure the given key
is not already in use by another
consumer before trying to create a new one.
The secret
defaults to an empty string because most consumers will
be open source desktop applications for which it wouldn't be actually
secret.
Parameters | key | The unique key which will be associated with the new consumer. |
secret | A secret which should be used by the consumer to sign its requests. |