ssoauth

package
v0.0.0-...-68360ed Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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) IsEnabled

func (a *Authenticator) IsEnabled() (bool, error)

func (*Authenticator) SignOutInfo

func (a *Authenticator) SignOutInfo(u *utils.SessionUser, redirectURL string) (*user.SignOutInfo, error)

type SSOExtra

type SSOExtra struct {
	Code         string `json:"code"`
	CodeVerifier string `json:"code_verifier"`
	RedirectURL  string `json:"redirect_url"`
}

Jump to

Keyboard shortcuts

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