Bases: object
Interface description for an OAuth1 driver.
Authorize request token.
Parameters: |
|
---|---|
Returns: | verifier |
Create access token.
Parameters: |
|
---|---|
Returns: | access_token_ref |
Create consumer.
Parameters: | consumer_ref (dict) – consumer ref with consumer name |
---|---|
Returns: | consumer_ref |
Create request token.
Parameters: |
|
---|---|
Returns: | request_token_ref |
Delete access token.
Parameters: |
|
---|---|
Returns: | None |
Delete consumer.
Parameters: | consumer_id (string) – id of consumer to get |
---|---|
Returns: | None. |
Get access token.
Parameters: | access_token_id (string) – the id of the access token |
---|---|
Returns: | access_token_ref |
Get consumer, returns the consumer id (key) and description.
Parameters: | consumer_id (string) – id of consumer to get |
---|---|
Returns: | consumer_ref |
Like get_consumer(), but also returns consumer secret.
Returned dictionary consumer_ref includes consumer secret. Secrets should only be shared upon consumer creation; the consumer secret is required to verify incoming OAuth requests.
Parameters: | consumer_id (string) – id of consumer to get |
---|---|
Returns: | consumer_ref containing consumer secret |
Get request token.
Parameters: | request_token_id (string) – the id of the request token |
---|---|
Returns: | request_token_ref |
Bases: sqlalchemy.ext.declarative.api.Base, keystone.common.sql.core.DictBase
Bases: sqlalchemy.ext.declarative.api.Base, keystone.common.sql.core.DictBase
Bases: keystone.oauth1.backends.base.Oauth1DriverV8
Bases: sqlalchemy.ext.declarative.api.Base, keystone.common.sql.core.DictBase