gaeauth

package
v0.0.0-...-8af4378 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2014 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GAEUserManager

type GAEUserManager struct {
	Formater auth.FormatChecker
	// contains filtered or unexported fields
}

func (*GAEUserManager) AddUser

func (m *GAEUserManager) AddUser(email, pwd string, app bool) (*auth.User, error)

func (*GAEUserManager) AddUserDetail

func (m *GAEUserManager) AddUserDetail(user *auth.User) (*auth.User, error)

func (*GAEUserManager) Can

func (m *GAEUserManager) Can(user *auth.User, do string) bool

func (*GAEUserManager) Close

func (m *GAEUserManager) Close() error

func (*GAEUserManager) DeleteUser

func (m *GAEUserManager) DeleteUser(id interface{}) error

func (*GAEUserManager) FindAllUser

func (m *GAEUserManager) FindAllUser(offsetId interface{}, limit int) ([]*auth.User, error)

func (*GAEUserManager) FindAllUserOnline

func (m *GAEUserManager) FindAllUserOnline(offsetId interface{}, limit int) ([]*auth.User, error)

func (*GAEUserManager) FindUser

func (m *GAEUserManager) FindUser(id interface{}) (*auth.User, error)

func (*GAEUserManager) FindUserByEmail

func (m *GAEUserManager) FindUserByEmail(email string) (*auth.User, error)

func (*GAEUserManager) GetUser

func (m *GAEUserManager) GetUser(token string) (*auth.User, error)

func (*GAEUserManager) GroupManager

func (m *GAEUserManager) GroupManager() auth.GroupManager

func (*GAEUserManager) Login

func (m *GAEUserManager) Login(id interface{}, stay time.Duration) (string, error)

func (*GAEUserManager) Logout

func (m *GAEUserManager) Logout(token string) error

func (*GAEUserManager) UpdateUserDetail

func (m *GAEUserManager) UpdateUserDetail(user *auth.User) error

func (*GAEUserManager) ValidateUser

func (m *GAEUserManager) ValidateUser(email, pwd string) (*auth.User, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL