diff options
Diffstat (limited to 'keystone/contrib/oauth1/core.py')
-rw-r--r-- | keystone/contrib/oauth1/core.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/keystone/contrib/oauth1/core.py b/keystone/contrib/oauth1/core.py index 03e8707c0..32dfc3271 100644 --- a/keystone/contrib/oauth1/core.py +++ b/keystone/contrib/oauth1/core.py @@ -225,14 +225,12 @@ class Driver(object): """ raise exception.NotImplemented() - def create_request_token(self, consumer_id, requested_roles, - requested_project, request_token_duration): + def create_request_token(self, consumer_id, requested_project, + request_token_duration): """Create request token. :param consumer_id: the id of the consumer :type consumer_id: string - :param requested_roles: requested roles - :type requested_roles: string :param requested_project_id: requested project id :type requested_project_id: string :param request_token_duration: duration of request token @@ -262,13 +260,15 @@ class Driver(object): """ raise exception.NotImplemented() - def authorize_request_token(self, request_id, user_id): + def authorize_request_token(self, request_id, user_id, role_ids): """Authorize request token. :param request_id: the id of the request token, to be authorized :type request_id: string :param user_id: the id of the authorizing user :type user_id: string + :param role_ids: list of role ids to authorize + :type role_ids: list returns: verifier """ |