Versions in this module Expand all Collapse all v1 v1.4.3 Aug 26, 2019 v1.4.2 Jul 17, 2019 v1.4.1 Apr 11, 2019 Changes in this version + type AttrConfig struct + Converters []NameVal + Maps map[string][]NameVal + Names []string + type Client struct + AdminConn *ldap.Conn + AdminDN string + AdminPassword string + Base string + CSP bccsp.BCCSP + GroupFilter string + Host string + Port int + TLS *ctls.ClientTLSConfig + UseSSL bool + UserFilter string + func NewClient(cfg *Config, csp bccsp.BCCSP) (*Client, error) + func (lc *Client) DeleteAffiliation(name string, force, identityRemoval, isRegistrar bool) (*causer.DbTxResult, error) + func (lc *Client) DeleteUser(id string) (causer.User, error) + func (lc *Client) GetAffiliation(name string) (spi.Affiliation, error) + func (lc *Client) GetAffiliationTree(name string) (*causer.DbTxResult, error) + func (lc *Client) GetAllAffiliations(name string) (*sqlx.Rows, error) + func (lc *Client) GetFilteredUsers(affiliation, types string) (*sqlx.Rows, error) + func (lc *Client) GetRootAffiliation() (spi.Affiliation, error) + func (lc *Client) GetUser(username string, attrNames []string) (causer.User, error) + func (lc *Client) GetUserLessThanLevel(version int) ([]causer.User, error) + func (lc *Client) InsertAffiliation(name string, prekey string, version int) error + func (lc *Client) InsertUser(user *causer.Info) error + func (lc *Client) ModifyAffiliation(oldAffiliation, newAffiliation string, force, isRegistrar bool) (*causer.DbTxResult, error) + func (lc *Client) UpdateUser(user *causer.Info, updatePass bool) error + type Config struct + Attribute AttrConfig + Enabled bool + GroupFilter string + TLS ctls.ClientTLSConfig + URL string + UserFilter string + func (c Config) String() string + type NameVal struct + Name string + Value string Incompatible versions in this module v2.0.0-alpha+incompatible Apr 9, 2019