google

package
v0.0.0-...-e012b55 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(cfg ClientConfig) *Client

func (*Client) ExchangeAuthCode

func (c *Client) ExchangeAuthCode(ctx context.Context, code, redirectURI string) (model.GoogleTokenResponse, error)

type ClientConfig

type ClientConfig struct {
	TokenEndpoint     string
	OAuthClientID     string
	OAuthClientSecret string
}

Jump to

Keyboard shortcuts

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