Versions in this module Expand all Collapse all v0 v0.0.9 Nov 11, 2023 v0.0.8 Nov 10, 2023 v0.0.7 Nov 10, 2023 v0.0.6 Nov 10, 2023 v0.0.5 Nov 10, 2023 v0.0.4 Nov 10, 2023 v0.0.3 Nov 10, 2023 v0.0.2 Nov 10, 2023 v0.0.1 Nov 10, 2023 Changes in this version + const AppleAudOrIss + const ScopeEmail + const ScopeName + func MakeSecret(sp SecretParams) (*string, error) + type ID struct + Email string + IsPrivateEmail bool + Sub string + type IDTokenClaims struct + AccessTokenHash string + AuthTime int + Email string + IsPrivateEmail bool + type Provider struct + func New(clientId, secret, redirectURL string, httpClient *http.Client, ...) *Provider + func (Provider) Debug(bool) + func (Provider) RefreshTokenAvailable() bool + func (Provider) UnmarshalSession(data string) (goth.Session, error) + func (p *Provider) SetName(name string) + func (p Provider) BeginAuth(state string) (goth.Session, error) + func (p Provider) Client() *http.Client + func (p Provider) ClientId() string + func (p Provider) FetchUser(session goth.Session) (goth.User, error) + func (p Provider) Name() string + func (p Provider) RedirectURL() string + func (p Provider) RefreshToken(refreshToken string) (*oauth2.Token, error) + func (p Provider) Secret() string + type SecretParams struct + ClientId string + Exp int + Iat int + KeyId string + PKCS8PrivateKey string + TeamId string + type Session struct + AccessToken string + AuthURL string + ExpiresAt time.Time + RefreshToken string + func (s *Session) Authorize(provider goth.Provider, params goth.Params) (string, error) + func (s Session) GetAuthURL() (string, error) + func (s Session) Marshal() string + func (s Session) String() string