package
9.20.6+incompatible
Repository: https://github.com/alperrehayazgan/postgresbase.git
Documentation: pkg.go.dev

# Functions

NewAppleProvider creates a new Apple provider instance with some defaults.
NewDiscordProvider creates a new Discord provider instance with some defaults.
NewFacebookProvider creates new Facebook provider instance with some defaults.
NewGiteaProvider creates new Gitea provider instance with some defaults.
NewGiteeProvider creates new Gitee provider instance with some defaults.
NewGithubProvider creates new Github provider instance with some defaults.
NewGitlabProvider creates new Gitlab provider instance with some defaults.
NewGoogleProvider creates new Google provider instance with some defaults.
NewInstagramProvider creates new Instagram provider instance with some defaults.
NewKakaoProvider creates a new Kakao provider instance with some defaults.
NewLivechatProvider creates new Livechat provider instance with some defaults.
NewMailcowProvider creates a new mailcow provider instance with some defaults.
NewMicrosoftProvider creates new Microsoft AD provider instance with some defaults.
NewOIDCProvider creates new OpenID Connect (OIDC) provider instance with some defaults.
NewPatreonProvider creates new Patreon provider instance with some defaults.
NewProviderByName returns a new preconfigured provider instance by its name identifier.
NewSpotifyProvider creates a new Spotify provider instance with some defaults.
NewStravaProvider creates new Strava provider instance with some defaults.
NewTwitchProvider creates new Twitch provider instance with some defaults.
NewTwitterProvider creates new Twitter provider instance with some defaults.
NewVKProvider creates new VK provider instance with some defaults.
NewYandexProvider creates new Yandex provider instance with some defaults.

# Constants

NameApple is the unique name of the Apple provider.
NameDiscord is the unique name of the Discord provider.
NameFacebook is the unique name of the Facebook provider.
NameGitea is the unique name of the Gitea provider.
NameGitee is the unique name of the Gitee provider.
NameGithub is the unique name of the Github provider.
NameGitlab is the unique name of the Gitlab provider.
NameGoogle is the unique name of the Google provider.
NameInstagram is the unique name of the Instagram provider.
NameKakao is the unique name of the Kakao provider.
NameLivechat is the unique name of the Livechat provider.
NameMailcow is the unique name of the mailcow provider.
NameMicrosoft is the unique name of the Microsoft provider.
NameOIDC is the unique name of the OpenID Connect (OIDC) provider.
NamePatreon is the unique name of the Patreon provider.
NameSpotify is the unique name of the Spotify provider.
NameStrava is the unique name of the Strava provider.
NameTwitch is the unique name of the Twitch provider.
NameTwitter is the unique name of the Twitter provider.
NameVK is the unique name of the VK provider.
NameYandex is the unique name of the Yandex provider.

# Structs

Apple allows authentication via Apple OAuth2.
AuthUser defines a standardized oauth2 user data structure.
Discord allows authentication via Discord OAuth2.
Facebook allows authentication via Facebook OAuth2.
Gitea allows authentication via Gitea OAuth2.
Gitee allows authentication via Gitee OAuth2.
Github allows authentication via Github OAuth2.
Gitlab allows authentication via Gitlab OAuth2.
Google allows authentication via Google OAuth2.
Instagram allows authentication via Instagram OAuth2.
Kakao allows authentication via Kakao OAuth2.
Livechat allows authentication via Livechat OAuth2.
Mailcow allows authentication via mailcow OAuth2.
Microsoft allows authentication via AzureADEndpoint OAuth2.
OIDC allows authentication via OpenID Connect (OIDC) OAuth2 provider.
Patreon allows authentication via Patreon OAuth2.
Spotify allows authentication via Spotify OAuth2.
Strava allows authentication via Strava OAuth2.
Twitch allows authentication via Twitch OAuth2.
Twitter allows authentication via Twitter OAuth2.
VK allows authentication via VK OAuth2.
Yandex allows authentication via Yandex OAuth2.

# Interfaces

Provider defines a common interface for an OAuth2 client.