Documentation
¶
Index ¶
- func Auth0(opts Auth0Options) *genericoauth.ProviderConfig
- func Entra(opts EntraOptions) *genericoauth.ProviderConfig
- func HubSpot(opts HubSpotOptions) *genericoauth.ProviderConfig
- func Keycloak(opts KeycloakOptions) *genericoauth.ProviderConfig
- func Line(opts LineOptions) *genericoauth.ProviderConfig
- func Okta(opts OktaOptions) *genericoauth.ProviderConfig
- func Patreon(opts PatreonOptions) *genericoauth.ProviderConfig
- func Slack(opts SlackOptions) *genericoauth.ProviderConfig
- type Auth0Options
- type EntraOptions
- type HubSpotOptions
- type KeycloakOptions
- type LineOptions
- type OktaOptions
- type PatreonOptions
- type SlackOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Auth0 ¶
func Auth0(opts Auth0Options) *genericoauth.ProviderConfig
Auth0 constructs a ProviderConfig configured for Auth0 authentication.
func Entra ¶
func Entra(opts EntraOptions) *genericoauth.ProviderConfig
Entra constructs a ProviderConfig configured for Microsoft Entra ID.
func HubSpot ¶
func HubSpot(opts HubSpotOptions) *genericoauth.ProviderConfig
HubSpot constructs a ProviderConfig configured for HubSpot OAuth authentication.
func Keycloak ¶
func Keycloak(opts KeycloakOptions) *genericoauth.ProviderConfig
Keycloak constructs a ProviderConfig configured for Keycloak realm authentication.
func Line ¶
func Line(opts LineOptions) *genericoauth.ProviderConfig
Line constructs a ProviderConfig configured for Line Login authentication.
func Okta ¶
func Okta(opts OktaOptions) *genericoauth.ProviderConfig
Okta constructs a ProviderConfig configured for Okta authentication.
func Patreon ¶
func Patreon(opts PatreonOptions) *genericoauth.ProviderConfig
Patreon constructs a ProviderConfig configured for Patreon OAuth authentication.
func Slack ¶
func Slack(opts SlackOptions) *genericoauth.ProviderConfig
Slack constructs a ProviderConfig configured for Slack authentication.
Types ¶
type Auth0Options ¶
type Auth0Options struct {
Domain string
ClientID string
ClientSecret string
Scopes []string
RedirectURI string
PKCE bool
}
Auth0Options defines configuration parameters for Auth0 OAuth2/OIDC.
type EntraOptions ¶
type EntraOptions struct {
TenantID string
ClientID string
ClientSecret string
Scopes []string
RedirectURI string
PKCE bool
}
EntraOptions defines configuration parameters for Microsoft Entra ID (Azure AD).
type HubSpotOptions ¶
type HubSpotOptions struct {
ClientID string
ClientSecret string
Scopes []string
RedirectURI string
}
HubSpotOptions defines configuration parameters for HubSpot OAuth.
type KeycloakOptions ¶
type KeycloakOptions struct {
BaseURL string
Realm string
ClientID string
ClientSecret string
Scopes []string
RedirectURI string
PKCE bool
}
KeycloakOptions defines configuration parameters for Keycloak OIDC.
type LineOptions ¶
LineOptions defines configuration parameters for Line Login API v2.1.
type OktaOptions ¶
type OktaOptions struct {
Domain string
ClientID string
ClientSecret string
Scopes []string
RedirectURI string
PKCE bool
}
OktaOptions defines configuration parameters for Okta OAuth2/OIDC.