google

package
v0.0.0-...-027bcc8 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewService

func NewService(callbackURL string) domain.AuthProvider

Types

type Service

type Service struct {
	Config *oauth2.Config
}

func (Service) ExchangeCode

func (s Service) ExchangeCode(r *http.Request) (*domain.AuthData, error)

func (Service) FetchAuthURL

func (s Service) FetchAuthURL(w http.ResponseWriter) (string, error)

Jump to

Keyboard shortcuts

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