Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthManager ¶
type AuthManager struct {
// contains filtered or unexported fields
}
AuthManager represents a manager for the user authentication.
func (*AuthManager) AddAuthMethod ¶
func (mgr *AuthManager) AddAuthMethod(method AuthMethod)
AddAuthMethod adds a new authentication method.
func (*AuthManager) AuthMethods ¶
func (mgr *AuthManager) AuthMethods() []AuthMethod
AuthMethods returns the list of registered auth methods implemented by this auth server.
func (*AuthManager) DefaultAuthMethodDescription ¶
func (mgr *AuthManager) DefaultAuthMethodDescription() AuthMethodDescription
DefaultAuthMethodDescription returns MysqlNativePassword as the default authentication method for the auth server implementation.
type AuthMethod ¶
type AuthMethod = vitessmy.AuthMethod
AuthMethod is an interface used for the user authentication.
type AuthMethodDescription ¶
type AuthMethodDescription = vitessmy.AuthMethodDescription
AuthMethodDescription is an interface used for the user authentication.
Click to show internal directories.
Click to hide internal directories.