googleoauth2

package
v0.0.0-...-aa46052 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	GetToken(ctx context.Context, code, redirectURL string) (*oauth2.Token, error)
	GetPerson(ctx context.Context, token *oauth2.Token) (*people.Person, error)
}

Service - Google Oauth 2.0 service

func NewService

func NewService(clientID, clientSecret string) Service

NewService - create new google oauth2 service implementation

Jump to

Keyboard shortcuts

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