This allows for using the Storefront private access token with the library's Storefront GraphQL client. Since this client is probably going to be running on a server where the token can be secured, using the private access token should be preferred. This commit doesn't make using the private token the default to avoid an immediate breaking change. We want to give clients time to see the deprecation and update their scripts.
Closes #1293
How has this been tested?
I created automated tests, and I tested it from the console against my own shop.
Checklist:
[x] My commit message follow the pattern described in here
[x] I have performed a self-review of my own code.
[x] I have added tests that prove my fix is effective or that my feature works.
Description
This allows for using the Storefront private access token with the library's Storefront GraphQL client. Since this client is probably going to be running on a server where the token can be secured, using the private access token should be preferred. This commit doesn't make using the private token the default to avoid an immediate breaking change. We want to give clients time to see the deprecation and update their scripts.
Closes #1293
How has this been tested?
I created automated tests, and I tested it from the console against my own shop.
Checklist: