Versions in this module Expand all Collapse all v1 v1.1.0 Sep 15, 2020 Changes in this version + func ClientAddress(h types.HostAddress) func(*Settings) + func DecodePAC(b bool) func(*Settings) + func KeytabPrincipal(p string) func(*Settings) + func Logger(l *log.Logger) func(*Settings) + func MaxClockSkew(d time.Duration) func(*Settings) + func RequireHostAddr(b bool) func(*Settings) + func SName(sname string) func(*Settings) + func VerifyAPREQ(APReq messages.APReq, s *Settings) (bool, *credentials.Credentials, error) + type Cache struct + func GetReplayCache(d time.Duration) *Cache + func (c *Cache) AddEntry(sname types.PrincipalName, a types.Authenticator) + func (c *Cache) ClearOldEntries(d time.Duration) + func (c *Cache) IsReplay(sname types.PrincipalName, a types.Authenticator) bool + type KRB5BasicAuthenticator struct + BasicHeaderValue string + func NewKRB5BasicAuthenticator(headerVal string, krb5conf *config.Config, serviceSettings *Settings, ...) KRB5BasicAuthenticator + func (a KRB5BasicAuthenticator) Authenticate() (i goidentity.Identity, ok bool, err error) + func (a KRB5BasicAuthenticator) Mechanism() string + type Settings struct + Keytab *keytab.Keytab + func NewSettings(kt *keytab.Keytab, settings ...func(*Settings)) *Settings + func (s *Settings) ClientAddress() types.HostAddress + func (s *Settings) DecodePAC() bool + func (s *Settings) KeytabPrincipal() *types.PrincipalName + func (s *Settings) Logger() *log.Logger + func (s *Settings) MaxClockSkew() time.Duration + func (s *Settings) RequireHostAddr() bool + func (s *Settings) SName() string