<s> from storyboardclient . openstack . common . apiclient import auth <EOL> class OAuthPlugin ( auth . BaseAuthPlugin ) : <EOL> def _do_authenticate ( self , http_client ) : <EOL> pass <EOL> def __init__ ( self , api_url = None , access_token = None ) : <EOL> super ( OAuthPlugin , self ) . __init__ ( ) <EOL> self . api_url = api_url <EOL> self . access_token = access_token <EOL> def token_and_endpoint ( self , endpoint_type = None , service_type = None ) : <EOL> return self . access_token , self . api_url </s>
