Versions in this module Expand all Collapse all v1 v1.0.5 Sep 28, 2016 Changes in this version + var Accounts = []auth.Account + var Groups = []auth.Group + type DbAuthenicator struct + DbClient *gorm.DB + func NewDBAuthenticator() *DbAuthenicator + func (authenticator *DbAuthenicator) MigriateTable() + func (db *DbAuthenicator) Account(idOrEmail interface{}) (*auth.Account, error) + func (db *DbAuthenicator) AccountGroups(listOptions model.ListOptions) (*[]auth.Group, error) + func (db *DbAuthenicator) Accounts(listOptions model.ListOptions) (*[]auth.Account, error) + func (db *DbAuthenicator) CreateAccount(groupId uint64, a *auth.Account) error + func (db *DbAuthenicator) CreateGroup(g *auth.Group) error + func (db *DbAuthenicator) DeleteAccount(a *auth.Account) error + func (db *DbAuthenicator) DeleteGroup(groupId uint64) error + func (db *DbAuthenicator) EncryptPassword(password string) string + func (db *DbAuthenicator) Group(id uint64) (*auth.Group, error) + func (db *DbAuthenicator) GroupAccounts(listOptions model.ListOptions) (*[]auth.Account, error) + func (db *DbAuthenicator) Groups(listOptions model.ListOptions) (*[]auth.Group, error) + func (db *DbAuthenicator) JoinGroup(accountId, groupId uint64) error + func (db *DbAuthenicator) LeaveGroup(accountId, groupId uint64) error + func (db *DbAuthenicator) Login(a *auth.Account) (string, error) + func (db *DbAuthenicator) ModificationAllowed() bool + func (db *DbAuthenicator) UpdaetAccount(a *auth.Account) error + func (db *DbAuthenicator) UpdateGroup(g *auth.Group) error + type Default struct + func NewDefaultAuthenticator() *Default + func (d *Default) Account(idOrEmail interface{}) (*auth.Account, error) + func (d *Default) AccountGroups(listOptions model.ListOptions) (auths *[]auth.Group, err error) + func (d *Default) Accounts(listOptions model.ListOptions) (auths *[]auth.Account, err error) + func (d *Default) CreateAccount(groupId uint64, a *auth.Account) error + func (d *Default) CreateGroup(g *auth.Group) error + func (d *Default) DeleteAccount(a *auth.Account) error + func (d *Default) DeleteGroup(groupId uint64) error + func (d *Default) EncryptPassword(password string) string + func (d *Default) GetDefaultAccounts() []auth.Account + func (d *Default) Group(id uint64) (*auth.Group, error) + func (d *Default) Groups(listOptions model.ListOptions) (auths *[]auth.Group, err error) + func (d *Default) JoinGroup(accountId, groupId uint64) error + func (d *Default) LeaveGroup(accountId, groupId uint64) error + func (d *Default) Login(a *auth.Account) (string, error) + func (d *Default) ModificationAllowed() bool + func (d *Default) UpdateAccount(a *auth.Account) error + func (d *Default) UpdateGroup(g *auth.Group) error + type Ldap struct + func (d *Ldap) ModificationAllowed() bool v1.0.0-rc1 Aug 18, 2016