diff options
author | Steve Martinelli <stevemar@ca.ibm.com> | 2013-03-20 20:02:18 -0700 |
---|---|---|
committer | Dolph Mathews <dolph.mathews@gmail.com> | 2013-08-16 13:02:24 -0500 |
commit | bcaa3072f37d3af3f9d526f18f311411ceeae160 (patch) | |
tree | 8c08bffaabf6c8f195f3d87b9a26edcdaf287371 /keystone/common | |
parent | 81534a182a4986d838591395aee8590ef61c599d (diff) | |
download | keystone-bcaa3072f37d3af3f9d526f18f311411ceeae160.tar.gz keystone-bcaa3072f37d3af3f9d526f18f311411ceeae160.tar.xz keystone-bcaa3072f37d3af3f9d526f18f311411ceeae160.zip |
Add delegated_auth support for keystone
Implements an OAuth 1.0a service provider.
blueprint: delegated-auth-via-oauth
DocImpact
SecurityImpact
Change-Id: Ib5561593ab608f3b22fbcd7196e2171f95b735e8
Diffstat (limited to 'keystone/common')
-rw-r--r-- | keystone/common/config.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/keystone/common/config.py b/keystone/common/config.py index 61eeac92..34ab0988 100644 --- a/keystone/common/config.py +++ b/keystone/common/config.py @@ -116,6 +116,11 @@ FILE_OPTIONS = { cfg.StrOpt('driver', default=('keystone.credential.backends' '.sql.Credential'))], + 'oauth1': [ + cfg.StrOpt('driver', + default='keystone.contrib.oauth1.backends.sql.OAuth1'), + cfg.IntOpt('request_token_duration', default=28800), + cfg.IntOpt('access_token_duration', default=86400)], 'policy': [ cfg.StrOpt('driver', default='keystone.policy.backends.sql.Policy')], |