Versions in this module Expand all Collapse all v1 v1.75.4 Jan 5, 2023 v1.75.3 Dec 28, 2022 Changes in this version + const ScopeMarketingEvents + const ScopeReadAllOrders + const ScopeReadAnalytics + const ScopeReadCheckouts + const ScopeReadContent + const ScopeReadCustomers + const ScopeReadDrafOrders + const ScopeReadFulfillments + const ScopeReadInventory + const ScopeReadLocations + const ScopeReadOrders + const ScopeReadPriceRules + const ScopeReadProductListings + const ScopeReadProducts + const ScopeReadReports + const ScopeReadResourceFeedbacks + const ScopeReadScriptTags + const ScopeReadShipping + const ScopeReadShopifyPaymentsDisputes + const ScopeReadShopifyPaymentsPayouts + const ScopeReadThemes + const ScopeReadUsers + const ScopeWriteCheckouts + const ScopeWriteContent + const ScopeWriteCustomers + const ScopeWriteDrafOrders + const ScopeWriteFulfillments + const ScopeWriteInventory + const ScopeWriteMarketingEvents + const ScopeWriteOrders + const ScopeWritePriceRules + const ScopeWriteProducts + const ScopeWriteReports + const ScopeWriteResourceFeedbacks + const ScopeWriteScriptTags + const ScopeWriteShipping + const ScopeWriteThemes + const ScopeWriteUsers + type Provider struct + CallbackURL string + ClientKey string + HTTPClient *http.Client + Secret string + func New(clientKey, secret, callbackURL string, scopes ...string) *Provider + func (p *Provider) BeginAuth(state string) (goth.Session, error) + func (p *Provider) Client() *http.Client + func (p *Provider) Debug(debug bool) + func (p *Provider) FetchUser(session goth.Session) (goth.User, error) + func (p *Provider) Name() string + func (p *Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) + func (p *Provider) RefreshTokenAvailable() bool + func (p *Provider) SetName(name string) + func (p *Provider) SetShopName(name string) + func (p *Provider) UnmarshalSession(data string) (goth.Session, error) + type Session struct + AccessToken string + AuthURL string + ExpiresAt time.Time + HMAC string + Hostname string + func (s *Session) Authorize(provider goth.Provider, params goth.Params) (string, error) + func (s Session) GetAuthURL() (string, error) + func (s Session) Marshal() string + func (s Session) String() string