google

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: BSD-3-Clause Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const CODE = "google"

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

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

func (*Provider) AuthCodeKey

func (v *Provider) AuthCodeKey() string

func (*Provider) AuthCodeURL

func (v *Provider) AuthCodeURL() string

func (Provider) Code

func (v Provider) Code() string

func (*Provider) Config

func (v *Provider) Config(c config.ConfigItem)

func (*Provider) Exchange

func (v *Provider) Exchange(code string) (isp.IUser, error)

type User

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

func (*User) GetEmail

func (v *User) GetEmail() string

func (*User) GetIcon

func (v *User) GetIcon() string

func (*User) GetName

func (v *User) GetName() string

func (*User) UnmarshalJSON

func (v *User) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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