oauth2

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authenticator

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

func New

func New(store user.IdentityStore, states user.StateStore, sessions user.SessionIssuer, providers []user.OAuthProvider, opts ...Option) *Authenticator

func (*Authenticator) Mount

func (a *Authenticator) Mount(r router.Router)

func (*Authenticator) Name

func (a *Authenticator) Name() string

type Option added in v0.2.0

type Option func(*Authenticator)

func WithAfterLogin added in v0.2.0

func WithAfterLogin(path string) Option

Directories

Path Synopsis
provider

Jump to

Keyboard shortcuts

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