ShopifyOAuth2Client constructor

ShopifyOAuth2Client({
  1. required String shop,
  2. required String redirectUri,
  3. required String customUriScheme,
})

Implementation

ShopifyOAuth2Client({
  required String shop,
  required String redirectUri,
  required String customUriScheme,
}) : super(
        authorizeUrl: 'https://$shop.myshopify.com/admin/oauth/authorize',
        tokenUrl: 'https://$shop.myshopify.com/admin/oauth/access_token',
        redirectUri: redirectUri,
        customUriScheme: customUriScheme,
        credentialsLocation: CredentialsLocation.body,
      );