Versions in this module Expand all Collapse all v1 v1.64.9 May 15, 2020 v1.64.8 May 15, 2020 v1.64.7 May 15, 2020 v1.64.6 May 15, 2020 v1.64.5 May 15, 2020 v1.64.3 May 15, 2020 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