googleoidc

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 9 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(clientID, clientSecret string) *Provider

func (*Provider) AuthURL

func (p *Provider) AuthURL(state, redirectURI string) string

func (*Provider) Exchange

func (p *Provider) Exchange(ctx context.Context, code, redirectURI string) (app.OAuthIdentity, error)

func (*Provider) Name

func (p *Provider) Name() string

func (*Provider) WithHTTPClient

func (p *Provider) WithHTTPClient(hc *http.Client) *Provider

Jump to

Keyboard shortcuts

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