nozzlegear / ShopifySharp

ShopifySharp is a .NET library that helps developers easily authenticate with and manage Shopify stores.
https://nozzlegear.com/shopify-development-handbook
MIT License
742 stars 309 forks source link

Rename ShopifyRestApiCredentials to ShopifyApiCredentials #977

Closed nozzlegear closed 9 months ago

nozzlegear commented 9 months ago

This pull request renames the ShopifyRestApiCredentials struct to ShopifyApiCredentials. I thought I was going to need three to four different structs to hold different credential types, but it turns out we really only need two: one for the partner credentials (organization id + access token), and one for basically everything else (shop domain + access token).

That in mind, I'm going to quickly rename the struct to ShopifyApiCredentials while it's brand new so it can be used with the graph service without feeling awkward.