auth

package
v0.0.0-...-d04bc5a Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindPartyAuthenticator

func BindPartyAuthenticator(ctx sessionctx.Context, pa *PartyAuthenticator)

Types

type PartyAuthMethod

type PartyAuthMethod int
const (
	PartyAuthMethodNone PartyAuthMethod = iota
	PartyAuthMethodToken
	PartyAuthMethodPubKey
)

type PartyAuthenticator

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

func GetPartyAuthenticator

func GetPartyAuthenticator(ctx sessionctx.Context) *PartyAuthenticator

func NewPartyAuthenticator

func NewPartyAuthenticator(conf config.PartyAuthConf) *PartyAuthenticator

func (*PartyAuthenticator) VerifyPartyAuthentication

func (pa *PartyAuthenticator) VerifyPartyAuthentication(engOpt *ast.EngineOption) error

Jump to

Keyboard shortcuts

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