'Resembles the :meth:`dict.get` method.
:returns:
A configuration dictionary for specified provider.'

@classmethod
def get(cls, key, default=None):

    result = cls.query((cls.provider_name == key)).get()
    if result:
        result_dict = result.to_dict()
        result_dict['store'] = NDBOpenIDStore
        for i in ('scope',):
            prop = result_dict.get(i)
            if prop:
                result_dict[i] = [s.strip() for s in prop.split(',')]
            else:
                result_dict[i] = None
        return result_dict
    else:
        return default
