oauth2

package
v0.0.0-...-0ba283a Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: Apache-2.0 Imports: 13 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 {
	ssokenizer.ProviderConfig
	OAuthConfig oauth2.Config

	// ForwardParams are the parameters that should be forwarded from the start
	// request to the auth URL.
	ForwardParams []string

	// Params to add to the auth request.
	AuthRequestParams map[string]string

	// Params to add to the token request.
	TokenRequestParams map[string]string
}

func (*Provider) PC

PC implements the ssokenizer.Provider interface.

func (*Provider) ServeHTTP

func (p *Provider) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (*Provider) Validate

func (p *Provider) Validate() error

Validate implements the ssokenizer.Provider interface.

Jump to

Keyboard shortcuts

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