Versions in this module Expand all Collapse all v0 v0.1.4 Jun 1, 2024 v0.1.3 May 5, 2024 Changes in this version + func Auth(c *AuthConfig) (*oauth2.Token, *oidc.UserInfo, error) + func Button(par core.Widget, c *ButtonsConfig, provider string, ...) *core.Button + func Buttons(par core.Widget, c *ButtonsConfig) *core.Layout + func Google(c *AuthConfig) (*oauth2.Token, *oidc.UserInfo, error) + func GoogleButton(par core.Widget, c *ButtonsConfig) *core.Button + type AuthConfig struct + Accounts []string + ClientID string + ClientSecret string + Ctx context.Context + ProviderName string + ProviderURL string + Scopes []string + TokenFile func(email string) string + type ButtonsConfig struct + Accounts []string + Scopes map[string][]string + SuccessFunc func(token *oauth2.Token, userInfo *oidc.UserInfo) + TokenFile func(provider, email string) string