google

package
v1.26.8 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

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

func New

func New(
	cfg config.Config,
	register *register.Registrar,
	ed endec.EncrypterDecrypter,
) (*Provider, error)

func (*Provider) Enabled

func (p *Provider) Enabled(ctx context.Context) (bool, error)
func (p *Provider) Link(redirectPath string) (string, error)

func (*Provider) Login

func (p *Provider) Login(ctx context.Context, state, code string) (*account.Account, error)

func (*Provider) Service

func (p *Provider) Service() authentication.Service

func (*Provider) Token

func (p *Provider) Token() authentication.TokenType

Jump to

Keyboard shortcuts

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