auth

package
v0.0.0-...-76d8645 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options ...Option) (*authenticator, error)

Types

type Option

type Option func(*authenticator) error

func WithOptions

func WithOptions(opts Options) Option

type Options

type Options struct {
	// OAuth2 client ID of this application.
	ClientID string

	// OAuth2 client secret of this application.
	ClientSecret string

	// URL of the OpenID Connect issuer.
	IssuerURL string

	// Callback URL for OAuth2 responses.
	RedirectURI string
}

Jump to

Keyboard shortcuts

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