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
Click to show internal directories.
Click to hide internal directories.