Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶ added in v0.12.4
NewProvider creates a new PAM authentication provider.
Types ¶
type Config ¶ added in v0.12.4
type Config struct { // The name of the PAM service, e.g. system-auth. ServiceName string }
Config contains configuration for PAM authentication.
⚠️ WARNING: Change to the field name must preserve the INI key name for backward compatibility.
type Provider ¶ added in v0.12.4
type Provider struct {
// contains filtered or unexported fields
}
Provider contains configuration of a PAM authentication provider.
func (*Provider) Authenticate ¶ added in v0.12.4
func (p *Provider) Authenticate(login, password string) (*auth.ExternalAccount, error)
func (*Provider) SkipTLSVerify ¶ added in v0.12.4
Click to show internal directories.
Click to hide internal directories.