auth

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToken added in v1.0.11

func GetToken(account structs.Account) (token *oauth2.Token)

func GoogleOauth

func GoogleOauth(account structs.Account) (token *oauth2.Token)

func LoadConfiguration

func LoadConfiguration(file string) (account *oauth2.Config)

func LoadToken

func LoadToken(file string) (token *oauth2.Token)

func Plain

func Plain()

func WriteToken

func WriteToken(token *oauth2.Token, account structs.Account)

Types

This section is empty.

Jump to

Keyboard shortcuts

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