localcred

package
v0.0.0-...-ad46a6f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{}

Provider is a GMail credential provider that uses the local filesystem.

func (Provider) InitConfig

func (Provider) InitConfig(cfgDir string) error

func (Provider) RefreshToken

func (Provider) RefreshToken(ctx context.Context, cfgDir string) error

func (Provider) ResetConfig

func (Provider) ResetConfig(cfgDir string) error

func (Provider) Service

func (Provider) Service(ctx context.Context, cfgDir string) (*gmail.Service, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL