// GetClient returns an authenticated http.Client that can be used to make requests to // protected Github resources func (provider *InstagramProvider) GetClient(creds *common.Credentials) (*http.Client, error) { return oauth2.GetClient(provider.TripperFactory(), creds, provider) }
// GetClient returns an authenticated http.Client that can be used to make requests to // protected Github resources func (h *HeroProvider) GetClient(creds *common.Credentials) (*http.Client, error) { return oauth2.GetClient(h.TripperFactory(), creds, h) }