Versions in this module Expand all Collapse all v3 v3.0.0 Jan 14, 2018 Changes in this version + const AttributeKeyADCredentials + type ADCredentials struct + EffectiveName string + FullName string + GroupMembershipSIDs []string + LogOffTime time.Time + LogOnTime time.Time + LogonDomainID string + LogonDomainName string + LogonServer string + PasswordLastSet time.Time + PrimaryGroupID int + UserID int + type CCache struct + Credentials []credential + DefaultPrincipal principal + Header header + Path string + Version uint8 + func LoadCCache(cpath string) (CCache, error) + func ParseCCache(b []byte) (c CCache, err error) + func (c *CCache) Contains(p types.PrincipalName) bool + func (c *CCache) GetClientCredentials() *Credentials + func (c *CCache) GetClientPrincipalName() types.PrincipalName + func (c *CCache) GetClientRealm() string + func (c *CCache) GetEntries() []credential + func (c *CCache) GetEntry(p types.PrincipalName) (credential, bool) + type Credentials struct + Attributes map[int]interface{} + CName types.PrincipalName + Keytab keytab.Keytab + Password string + Realm string + Username string + func NewCredentials(username string, realm string) Credentials + func NewCredentialsFromPrincipal(cname types.PrincipalName, realm string) Credentials + func (c *Credentials) AddAuthzAttribute(a string) + func (c *Credentials) AuthTime() time.Time + func (c *Credentials) Authenticated() bool + func (c *Credentials) Authorized(a string) bool + func (c *Credentials) AuthzAttributes() []string + func (c *Credentials) DisableAuthzAttribute(a string) + func (c *Credentials) DisplayName() string + func (c *Credentials) Domain() string + func (c *Credentials) EnableAuthzAttribute(a string) + func (c *Credentials) HasKeytab() bool + func (c *Credentials) HasPassword() bool + func (c *Credentials) Human() bool + func (c *Credentials) RemoveAuthzAttribute(a string) + func (c *Credentials) SessionID() string + func (c *Credentials) SetADCredentials(a ADCredentials) + func (c *Credentials) SetAuthTime(t time.Time) + func (c *Credentials) SetAuthenticated(b bool) + func (c *Credentials) SetDisplayName(s string) + func (c *Credentials) SetDomain(s string) + func (c *Credentials) SetHuman(b bool) + func (c *Credentials) SetUserName(s string) + func (c *Credentials) UserName() string + func (c *Credentials) WithKeytab(kt keytab.Keytab) *Credentials + func (c *Credentials) WithPassword(password string) *Credentials Other modules containing this package gopkg.in/jcmturner/gokrb5.v1 gopkg.in/jcmturner/gokrb5.v2 gopkg.in/jcmturner/gokrb5.v4 gopkg.in/jcmturner/gokrb5.v5 gopkg.in/jcmturner/gokrb5.v6 gopkg.in/jcmturner/gokrb5.v7 gopkg.in/jcmturner/gokrb5.v8