diff options
author | Steve Martinelli <stevemar@ca.ibm.com> | 2013-07-31 13:54:39 -0500 |
---|---|---|
committer | Steve Martinelli <stevemar@ca.ibm.com> | 2013-07-31 13:54:39 -0500 |
commit | ce17a0b58877525cf39f0427f4874877fcf804ca (patch) | |
tree | e4176b72aac0f246ed73b25a1a256dc8893da37e | |
parent | 661da45f58d3a48cce4720aa2f10b6cd616376e8 (diff) | |
download | python-openstackclient-ce17a0b58877525cf39f0427f4874877fcf804ca.tar.gz |
Remove 'oauth authorization show' function from identity v3
Remove the mentioned function since I removed it in the client.
Change-Id: I45e713a1cdad92d257b895adfaa269404be6e6d8
-rw-r--r-- | openstackclient/identity/v3/oauth.py | 24 | ||||
-rw-r--r-- | setup.cfg | 1 |
2 files changed, 0 insertions, 25 deletions
diff --git a/openstackclient/identity/v3/oauth.py b/openstackclient/identity/v3/oauth.py index 1672cd24..a97f86c7 100644 --- a/openstackclient/identity/v3/oauth.py +++ b/openstackclient/identity/v3/oauth.py @@ -346,30 +346,6 @@ class SetConsumer(command.Command): return -class ShowAuthorizationPin(show.ShowOne): - """Show Authorization pin command""" - - log = logging.getLogger(__name__ + '.ShowAuthorizationPin') - - def get_parser(self, prog_name): - parser = super(ShowAuthorizationPin, self).get_parser(prog_name) - parser.add_argument( - 'request_id', - metavar='<request-id>', - help='Show pin for request token', - ) - return parser - - def take_action(self, parsed_args): - self.log.debug('take_action(%s)' % parsed_args) - identity_client = self.app.client_manager.identity - data = identity_client.oauth.get_authorization_pin( - parsed_args.request_id) - info = {} - info.update(data._info) - return zip(*sorted(six.iteritems(info))) - - class ShowConsumer(show.ShowOne): """Show consumer command""" @@ -113,7 +113,6 @@ openstack.identity.v3 = oauth_request_token_create = openstackclient.identity.v3.oauth:CreateRequestToken oauth_authorization_delete = openstackclient.identity.v3.oauth:DeleteUserAuthorization oauth_authorization_list = openstackclient.identity.v3.oauth:ListUserAuthorizations - oauth_authorization_show = openstackclient.identity.v3.oauth:ShowAuthorizationPin policy_create = openstackclient.identity.v3.policy:CreatePolicy policy_delete = openstackclient.identity.v3.policy:DeletePolicy |