tokensource

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2018 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileCache

func FileCache(src oauth2.TokenSource, app, name string, scopes ...string) oauth2.TokenSource

FileCache returns an oauth2.TokenSource that will cache tokens in the filesystem. On unix systems this will be in $XDG_DATA_HOME/<app> (or ~/.local/share/<app>). On windows systems this will be in %%LOCALAPPDATA%%/<app> (or C:\Users\<username>\AppData\Local\<app>).

func Log

Log returns an oauth2.TokenSource that will log debug information to the writer

Types

This section is empty.

Jump to

Keyboard shortcuts

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