Documentation ¶
Index ¶
- Variables
- type Provider
- func (p *Provider) Create(i *identity.LDAP) error
- func (p *Provider) Delete(i *identity.LDAP) error
- func (p *Provider) Get(userID string, id string) (*identity.LDAP, error)
- func (p *Provider) GetByServerUserID(serverName string, userIDAttributeName string, userIDAttributeValue []byte) (*identity.LDAP, error)
- func (p *Provider) GetMany(ids []string) ([]*identity.LDAP, error)
- func (p *Provider) List(userID string) ([]*identity.LDAP, error)
- func (p *Provider) ListByClaim(name string, value string) ([]*identity.LDAP, error)
- func (p *Provider) MakeSpecFromEntry(serverConfig *config.LDAPServerConfig, loginUserName string, entry *ldap.Entry) (*identity.Spec, error)
- func (p *Provider) New(userID string, serverName string, loginUserName *string, ...) *identity.LDAP
- func (p *Provider) Update(i *identity.LDAP) error
- func (p *Provider) WithUpdate(iden *identity.LDAP, loginUserName *string, claims map[string]interface{}, ...) *identity.LDAP
- type StandardAttributesNormalizer
- type Store
- func (s *Store) Create(i *identity.LDAP) (err error)
- func (s *Store) Delete(i *identity.LDAP) error
- func (s *Store) Get(userID string, id string) (*identity.LDAP, error)
- func (s *Store) GetByServerUserID(serverName string, userIDAttributeName string, userIDAttributeValue []byte) (*identity.LDAP, error)
- func (s *Store) GetMany(ids []string) ([]*identity.LDAP, error)
- func (s *Store) List(userID string) ([]*identity.LDAP, error)
- func (s *Store) ListByClaim(name string, value string) ([]*identity.LDAP, error)
- func (s *Store) Update(i *identity.LDAP) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { Store *Store Clock clock.Clock StandardAttributesNormalizer StandardAttributesNormalizer }
func (*Provider) GetByServerUserID ¶
func (*Provider) ListByClaim ¶
func (*Provider) MakeSpecFromEntry ¶
type Store ¶
type Store struct { SQLBuilder *appdb.SQLBuilderApp SQLExecutor *appdb.SQLExecutor }
func (*Store) GetByServerUserID ¶
func (*Store) ListByClaim ¶
Click to show internal directories.
Click to hide internal directories.