endpoints

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Service names must be lower case alpha-numeric.
	ServiceAha                = "aha"
	ServiceAsana              = "asana"
	ServiceAtlassian          = "atlassian"
	ServiceEbay               = "ebay"
	ServiceEbaySandbox        = "ebaysandbox"
	ServiceFacebook           = "facebook"
	ServiceGithub             = "github"
	ServiceGoogle             = "google"
	ServiceHubspot            = "hubspot"
	ServiceInstagram          = "instagram"
	ServiceLyft               = "lyft"
	ServiceMailchimp          = "mailchimp"
	ServiceMonday             = "monday"
	ServicePagerduty          = "pagerduty"
	ServicePaypal             = "paypal"
	ServicePaypalSandbox      = "paypalsandbox"
	ServicePipedrive          = "pipedrive"
	ServicePracticesuite      = "practicesuite"
	ServiceRingcentral        = "ringcentral"
	ServiceRingcentralSandbox = "ringcentralsandbox"
	ServiceShippo             = "shippo"
	ServiceShopify            = "shopify"
	ServiceSlack              = "slack"
	ServiceStackoverflow      = "stackoverflow"
	ServiceStripe             = "stripe"
	ServiceTodoist            = "todoist"
	ServiceTwitter            = "twitter"
	ServiceUber               = "uber"
	ServiceWepay              = "wepay"
	ServiceWepaySandbox       = "wepaysandbox"
	ServiceWrike              = "wrike"
	ServiceWunderlist         = "wunderlist"

	AhaAuthzURLFormat          = "https://%s.aha.io/oauth/authorize"
	AhaTokenURLFormat          = "https://%s.aha.io/oauth/token"
	AsanaAuthzURL              = "https://app.asana.com/-/oauth_authorize"
	AsanaTokenURL              = "https://app.asana.com/-/oauth_token"
	AtlassianAuthzURL          = "https://auth.atlassian.com/authorize"
	AtlassianTokenURL          = "https://auth.atlassian.com/oauth/token"
	EbayAuthzURL               = "https://auth.ebay.com/oauth2/authorize"
	EbayTokenURL               = "https://api.ebay.com/identity/v1/oauth2/token"
	EbayAuthzURLSandbox        = "https://auth.sandbox.ebay.com/oauth2/authorize"
	EbayTokenURLSandbox        = "https://api.sandbox.ebay.com/identity/v1/oauth2/token"
	FacebookAuthzURL           = "https://www.facebook.com/v3.2/dialog/oauth"
	FacebookTokenURL           = "https://graph.facebook.com/v3.2/oauth/access_token"
	GithubAuthzURL             = "https://github.com/login/oauth/authorize"
	GithubTokenURL             = "https://github.com/login/oauth/access_token"
	GoogleAuthzURL             = "https://accounts.google.com/o/oauth2/auth"
	GoogleTokenURL             = "https://oauth2.googleapis.com/token"
	HubspotAuthzURL            = "https://app.hubspot.com/oauth/authorize"
	HubspotTokenURL            = "https://api.hubapi.com/oauth/v1/token"
	InstagramAuthzURL          = "https://api.instagram.com/oauth/authorize"
	InstagramTokenURL          = "https://api.instagram.com/oauth/access_token"
	LyftAuthzURL               = "https://www.lyft.com/oauth/authorize"
	LyftTokenURL               = "https://api.lyft.com/oauth/token"
	MailchimpAuthzURL          = "https://login.mailchimp.com/oauth2/authorize"
	MailchimpTokenURL          = "https://login.mailchimp.com/oauth2/token"
	MondayAuthzURL             = "https://auth.monday.com/oauth2/authorize"
	MondayTokenURL             = "https://auth.monday.com/oauth2/token"
	PagerdutyAuthzURL          = "https://app.pagerduty.com/oauth/authorize"
	PagerdutyTokenURL          = "https://app.pagerduty.com/oauth/token"
	PaypalAuthzURL             = "https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize"
	PaypalTokenURL             = "https://api.paypal.com/v1/identity/openidconnect/tokenservice"
	PaypalAuthzURLSandbox      = "https://www.sandbox.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize"
	PaypalTokenURLSandbox      = "https://api.sandbox.paypal.com/v1/identity/openidconnect/tokenservice"
	PipedriveAuthzURL          = "https://oauth.pipedrive.com/oauth/authorize"
	PipedriveTokenURL          = "https://oauth.pipedrive.com/oauth/token"
	PracticesuiteTokenURL      = "https://staging.practicesuite.com/uaa/oauth/token"
	RingcentralAuthzURL        = "https://platform.ringcentral.com/restapi/oauth/authorize"
	RingcentralTokenURL        = "https://platform.ringcentral.com/restapi/oauth/token"
	RingcentralAuthzURLSandbox = "https://platform.devtest.ringcentral.com/restapi/oauth/authorize"
	RingcentralTokenURLSandbox = "https://platform.devtest.ringcentral.com/restapi/oauth/token"
	ShippoAuthzURL             = "https://goshippo.com/oauth/authorize"
	ShippoTokenURL             = "https://goshippo.com/oauth/access_token"
	ShopifyAuthzURLFormat      = "https://%s.myshopify.com/admin/oauth/authorize"
	ShopifyTokenURLFormat      = "https://%s.myshopify.com/admin/oauth/access_token"
	SlackAuthzURL              = "https://slack.com/oauth/authorize"
	SlackTokenURL              = "https://slack.com/api/oauth.access"
	StackoverflowAuthzURL      = "https://stackoverflow.com/oauth"
	StackoverflowTokenURL      = "https://stackoverflow.com/oauth/access_token"
	StripeAuthzURL             = "https://connect.stripe.com/oauth/authorize"
	StripeTokenURL             = "https://connect.stripe.com/oauth/token"
	TodoistAuthzURL            = "https://todoist.com/oauth/authorize"
	TodoistTokenURL            = "https://todoist.com/oauth/access_token"
	TwitterTokenURL            = "https://api.twitter.com/oauth2/token"
	UberAuthzURL               = "https://login.uber.com/oauth/v2/authorize"
	UberTokenURL               = "https://login.uber.com/oauth/v2/token"
	WepayAuthzURL              = "https://www.wepay.com/v2/oauth2/authorize"
	WepayTokenURL              = "https://wepayapi.com/v2/oauth2/token"
	WepayAuthzURLSandbox       = "https://stage.wepay.com/v2/oauth2/authorize"
	WepayTokenURLSandbox       = "https://stage.wepayapi.com/v2/oauth2/token"
	WrikeAuthzURL              = "https://login.wrike.com/oauth2/authorize/v4"
	WrikeTokenURL              = "https://login.wrike.com/oauth2/token"
	WunderlistAuthzURL         = "https://www.wunderlist.com/oauth/authorize"
	WunderlistTokenURL         = "https://www.wunderlist.com/oauth/access_token"
)

Variables

This section is empty.

Functions

func NewEndpoint

func NewEndpoint(serviceName, subdomain string) (oauth2.Endpoint, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL