Versions in this module Expand all Collapse all v0 v0.6.0 Nov 27, 2021 Changes in this version + const Asana + const DropboxScopedIndividual + const DropboxScopedTeam + const DropboxTokenApp + const DropboxTokenBusinessAudit + const DropboxTokenBusinessFile + const DropboxTokenBusinessInfo + const DropboxTokenBusinessManagement + const DropboxTokenFull + const Github + const GoogleMail + const GoogleSheets + const Slack + type App interface + Config func(scope []string) *oauth2.Config + UsePKCE func() bool + type AuthType struct + Scopes []string + Type string + func (z AuthType) Id() string + type Basic interface + PeerName func() string + type Console interface + Auth func(scope []string) (token Context, err error) + PeerName func() string + type Context interface + Config func() *oauth2.Config + Description func() string + IsNoAuth func() bool + PeerName func() string + Scopes func() []string + Supplemental func() string + Token func() *oauth2.Token + func NewContext(token *oauth2.Token, cfg *oauth2.Config, peerName string, scopes []string) Context + func NewContextWithAttr(c Context, cfg *oauth2.Config, desc, suppl string) Context + func NewNoAuth() Context + type Repository interface + Delete func(ct AuthType, peerName string) (err error) + Get func(ct AuthType, peerName string) (peer Context, err error) + List func(ct AuthType) (peers []Context, err error) + Set func(ct AuthType, peer Context) (err error)