

def get_oauth_service():
    (consumer_key, consumer_secret) = json.loads(base64.b64decode(constants.CONSUMER_DATA))
    return rauth.OAuth1Service(consumer_key=consumer_key, consumer_secret=consumer_secret, request_token_url=constants.ENDPOINT_REQUEST, access_token_url=constants.ENDPOINT_ACCESS, authorize_url=constants.ENDPOINT_AUTHORIZE, base_url=constants.ENDPOINT_BASE)

dataset/ETHPy150Open pilotmoon/PopClip-Extensions/source/Trello/auth.py get_oauth_service/original