def get_app_id_and_key(self, props_app_id, props_app_key, logger):
    '\n        get the encrypted app_id and app_key from storage_passwords\n    '
    storage_passwords = self.service.storage_passwords
    if (props_app_id['username'] not in storage_passwords):
        raise KeyError('Did not find app_id {} in storage_passwords.'.format(props_app_id['username']))
    if (props_app_key['username'] not in storage_passwords):
        raise KeyError('Did not find app_id {} in storage_passwords.'.format(props_app_key['username']))
    app_id = ''
    app_key = ''
    try:
        app_id = storage_passwords[props_app_id['username']].clear_password
        app_key = storage_passwords[props_app_key['username']].clear_password
    except Exception as e:
        logger('ERROR', 'Error caught in get_app_id_and_key: {0}'.format(e))
    return (app_id, app_key)
get the encrypted app_id and app_key from storage_passwords
def get_app_id_and_key(self, props_app_id, props_app_key, logger):
    '\n        \n    '
    storage_passwords = self.service.storage_passwords
    if (props_app_id['username'] not in storage_passwords):
        raise KeyError('Did not find app_id {} in storage_passwords.'.format(props_app_id['username']))
    if (props_app_key['username'] not in storage_passwords):
        raise KeyError('Did not find app_id {} in storage_passwords.'.format(props_app_key['username']))
    app_id = 
    app_key = 
    try:
        app_id = storage_passwords[props_app_id['username']].clear_password
        app_key = storage_passwords[props_app_key['username']].clear_password
    except Exception as e:
        logger('ERROR', 'Error caught in get_app_id_and_key: {0}'.format(e))
    return (app_id, app_key)