Documentation
¶
Index ¶
Constants ¶
View Source
const ( Type = "authfile" DefaultName = "authfile" DefaultRealm = "default realm" )
Variables ¶
View Source
var Log *logrus.Entry = logging.GetLogger("authfile").WithField("pkg", "auth/backend/authfile")
Functions ¶
This section is empty.
Types ¶
type AuthFile ¶
type AuthFile struct {
// contains filtered or unexported fields
}
func (*AuthFile) Authenticate ¶
func (fa *AuthFile) Authenticate(pctx *auth.AuthContext, creds *auth.Credentials) (*auth.AuthContext, bool)
func (*AuthFile) CredentialType ¶
type Config ¶
var Defaults *Config = &Config{ Name: DefaultName, Realm: DefaultRealm, Path: path.Join(globals.ConfDir(), "auth_users.yaml"), }
Click to show internal directories.
Click to hide internal directories.