Ensure that we have a valid session to access the Partners API.
If SHOPIFY_CLI_PARTNERS_TOKEN exists, that token will be used to obtain a valid Partners Token
If SHOPIFY_CLI_PARTNERS_TOKEN exists, scopes will be ignored.
Parameters
scopes: "cli"[] = []
Optional array of extra scopes to authenticate with.
Ensure that we have a valid session to access the Partners API. If SHOPIFY_CLI_PARTNERS_TOKEN exists, that token will be used to obtain a valid Partners Token If SHOPIFY_CLI_PARTNERS_TOKEN exists, scopes will be ignored.