Merge "Remove unnecessary oauth_api check"
This commit is contained in:
commit
c0fdd027e3
|
@ -35,9 +35,6 @@ class OAuth(auth.AuthMethodHandler):
|
|||
def authenticate(self, context, auth_info, auth_context):
|
||||
"""Turn a signed request with an access key into a keystone token."""
|
||||
|
||||
if not self.oauth_api:
|
||||
raise exception.Unauthorized(_('%s not supported') % self.method)
|
||||
|
||||
headers = context['headers']
|
||||
oauth_headers = oauth.get_oauth_headers(headers)
|
||||
access_token_id = oauth_headers.get('oauth_token')
|
||||
|
|
Loading…
Reference in New Issue