store

package
v0.0.0-...-16bd86a Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	// contains filtered or unexported fields
}

File satisfies the auth.Storage interface

func NewFile

func NewFile(path string) (*File, error)

func (*File) FileNotPresent

func (f *File) FileNotPresent() bool

func (*File) GetToken

func (f *File) GetToken() (*oauth2.Token, error)

GetToken retrieves a token from a file

func (*File) SetToken

func (f *File) SetToken(t *oauth2.Token) error

SetToken creates, truncates, then stores a token in a file

Jump to

Keyboard shortcuts

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