codeauth

package
v0.0.0-...-0119d12 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSignInInvalidCode = user.ErrNSSignIn.NewType("invalid_code") // Invalid or expired
View Source
var Module = fx.Options(
	fx.Provide(newAuthenticator),
	fx.Invoke(registerAuthenticator),
)

Functions

This section is empty.

Types

type Authenticator

type Authenticator struct {
	user.BaseAuthenticator
	// contains filtered or unexported fields
}

func (*Authenticator) Authenticate

func (a *Authenticator) Authenticate(f user.AuthenticateForm) (*utils.SessionUser, error)

func (*Authenticator) ProcessSession

func (a *Authenticator) ProcessSession(user *utils.SessionUser) bool

Jump to

Keyboard shortcuts

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