Versions in this module Expand all Collapse all v0 v0.2.0 Nov 27, 2018 v0.1.0 Aug 20, 2018 Changes in this version + var ErrNoGoogleClientConfig = errors.New("missing google client config") + var ErrNoGoogleToken = errors.New("missing google token") + func ReadGoogleClientConfigFromFile(filepath string) (*oauth2.Config, error) + type FileProvider struct + func NewFileProvider() (*FileProvider, error) + func (f *FileProvider) GoogleClientConfig() (*oauth2.Config, error) + func (f *FileProvider) GoogleClientConfigExists() bool + func (f *FileProvider) GoogleToken() (*oauth2.Token, error) + func (f *FileProvider) GoogleTokenExists() bool + func (f *FileProvider) StoreGoogleClientConfig(conf *oauth2.Config) error + func (f *FileProvider) StoreGoogleToken(token *oauth2.Token) error + type Provider interface + GoogleClientConfig func() (*oauth2.Config, error) + GoogleClientConfigExists func() bool + GoogleToken func() (*oauth2.Token, error) + GoogleTokenExists func() bool + StoreGoogleClientConfig func(*oauth2.Config) error + StoreGoogleToken func(*oauth2.Token) error