Making provider and credentials an attribute

Yes!