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 GitHub service endpoint, e.g. https://api.github.com/. APIEndpoint string SkipVerify bool }
Config contains configuration for GitHub 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.