provider

package
v0.0.0-...-1ba6274 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 61 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Unknown      = Provider{"", ""}
	Amazon       = Provider{"amazon", "Amazon"}
	Apple        = Provider{"apple", "Apple"}
	Auth0        = Provider{"auth0", "Auth0"}
	Azure        = Provider{"azuread", "Azure AD"}
	Battlenet    = Provider{"battlenet", "Battlenet"}
	Bitbucket    = Provider{"bitbucket", "Bitbucket"}
	Box          = Provider{"box", "Box"}
	Dailymotion  = Provider{"dailymotion", "Dailymotion"}
	Deezer       = Provider{"deezer", "Deezer"}
	DigitalOcean = Provider{"digitalocean", "Digital Ocean"}
	Discord      = Provider{"discord", "Discord"}
	Dropbox      = Provider{"dropbox", "Dropbox"}
	Eve          = Provider{"eveonline", "Eve Online"}
	Facebook     = Provider{"facebook", "Facebook"}
	Fitbit       = Provider{"fitbit", "Fitbit"}
	Gitea        = Provider{"gitea", "Gitea"}
	Github       = Provider{"github", "Github"}
	Gitlab       = Provider{"gitlab", "Gitlab"}
	Google       = Provider{"google", "Google"}
	GooglePlus   = Provider{"gplus", "Google Plus"}
	Heroku       = Provider{"heroku", "Heroku"}
	Instagram    = Provider{"instagram", "Instagram"}
	Intercom     = Provider{"intercom", "Intercom"}
	Kakao        = Provider{"kakao", "Kakao"}
	LastFM       = Provider{"lastfm", "Last FM"}
	LINE         = Provider{"line", "LINE"}
	Linkedin     = Provider{"linkedin", "Linkedin"}
	Mastodon     = Provider{"mastodon", "Mastodon"}
	Meetup       = Provider{"meetup", "Meetup.com"}
	Microsoft    = Provider{"microsoftonline", "Microsoft Online"}
	Naver        = Provider{"naver", "Naver"}
	NextCloud    = Provider{"nextcloud", "NextCloud"}
	Okta         = Provider{"okta", "Okta"}
	Onedrive     = Provider{"onedrive", "Onedrive"}
	OpenID       = Provider{"openid-connect", "OpenID Connect"}
	Patreon      = Provider{"patreon", "Patreon"}
	Paypal       = Provider{"paypal", "Paypal"}
	Salesforce   = Provider{"salesforce", "Salesforce"}
	SeaTalk      = Provider{"seatalk", "SeaTalk"}
	Shopify      = Provider{"shopify", "Shopify"}
	Slack        = Provider{"slack", "Slack"}
	SoundCloud   = Provider{"soundcloud", "SoundCloud"}
	Spotify      = Provider{"spotify", "Spotify"}
	Steam        = Provider{"steam", "Steam"}
	Strava       = Provider{"strava", "Strava"}
	Stripe       = Provider{"stripe", "Stripe"}
	TikTok       = Provider{"tiktok", "TikTok"}
	Twitch       = Provider{"twitch", "Twitch"}
	Twitter      = Provider{"twitter", "Twitter"}
	Typetalk     = Provider{"typetalk", "Typetalk"}
	Uber         = Provider{"uber", "Uber"}
	VK           = Provider{"vk", "VK"}
	WeCom        = Provider{"wecom", "WeCom"}
	Wepay        = Provider{"wepay", "Wepay"}
	Xero         = Provider{"xero", "Xero"}
	Yahoo        = Provider{"yahoo", "Yahoo"}
	Yammer       = Provider{"yammer", "Yammer"}
	Yandex       = Provider{"yandex", "Yandex"}
	Zoom         = Provider{"zoom", "Zoom"}
)

Functions

func Public

func Public() []string

func Slugs

func Slugs() []string

func Validate

func Validate(p Provider) bool

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func FromSlug

func FromSlug(p string) (Provider, bool)

func List

func List() []Provider

func (Provider) Pretty

func (p Provider) Pretty() string

func (Provider) String

func (p Provider) String() string

func (Provider) Use

func (p Provider) Use(key, secret, url, source string, scope ...string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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