Documentation
¶
Index ¶
- func EscapeFilter(f string) string
- func GenerateToken(nickname string) (tokenString string, err error)
- func New(cf LdapConnFactory) (l core.LdapDialer, err error)
- func ValidateToken(tokenString string, nickname string) (ok bool, err error)
- type LdapConnFactory
- type LdapDialer
- type LdapWrap
- func (l *LdapWrap) MemberExists(uid string) (exists bool, err error)
- func (l *LdapWrap) NextUidNumber() (nextUidNumber int, err error)
- func (l *LdapWrap) PasswordReset(nickname string) (token, email string, err error)
- func (l *LdapWrap) RegisterMember(user, email, mlEmail string) (token string, err error)
- func (l *LdapWrap) SearchActive(filter string, attrs []string) (sr *ldap.SearchResult, err error)
- func (l *LdapWrap) SearchActiveAndInactive(filter string, attrs []string) (sr *ldap.SearchResult, err error)
- func (l *LdapWrap) SearchInactive(filter string, attrs []string) (sr *ldap.SearchResult, err error)
- func (l *LdapWrap) SetPassword(token, password, doorpass string) (err error)
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EscapeFilter ¶
func GenerateToken ¶
func New ¶
func New(cf LdapConnFactory) (l core.LdapDialer, err error)
Types ¶
type LdapConnFactory ¶
func NewLdapConnFactory ¶
func NewLdapConnFactory( host string, port int, username, password string, ) ( ldapConnFactory LdapConnFactory, )
type LdapDialer ¶
type LdapDialer struct {
// contains filtered or unexported fields
}
type LdapWrap ¶
type LdapWrap struct {
// contains filtered or unexported fields
}
func (*LdapWrap) MemberExists ¶
func (*LdapWrap) NextUidNumber ¶
func (*LdapWrap) PasswordReset ¶
func (*LdapWrap) RegisterMember ¶
func (*LdapWrap) SearchActive ¶
func (*LdapWrap) SearchActiveAndInactive ¶
func (*LdapWrap) SearchInactive ¶
func (*LdapWrap) SetPassword ¶
Click to show internal directories.
Click to hide internal directories.