localcred

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 10 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 Google Calendar 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) (*calendar.Service, error)

Jump to

Keyboard shortcuts

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