zoho

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEndpoint

func GetEndpoint(dc Datacenter) oauth2.Endpoint

Types

type Config

type Config struct {
	*oauth2.Config
}

func (*Config) GetAuthUrl

func (c *Config) GetAuthUrl(state string) string

func (*Config) GetToken

func (c *Config) GetToken(code string) *oauth2.Token

type Datacenter

type Datacenter string
const (
	GlobalDatacenter Datacenter = "com"
	EUDatacenter     Datacenter = "eu"
)

Jump to

Keyboard shortcuts

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