googleuserinfo

package
v0.0.0-...-20679a4 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleUserinfo

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

GoogleUserinfo is the userinfo implementation using google's oauth api.

func New

func New(c *http.Client) (*GoogleUserinfo, error)

New creates a new instance of google userinfo.

func (*GoogleUserinfo) Get

func (gu *GoogleUserinfo) Get() (*userinfo.User, error)

Get returns the basic detail of user. It fetches user detail using google's oauth api.

Jump to

Keyboard shortcuts

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