Documentation ¶
Index ¶
- type Datastore
- func (d *Datastore) CreateEmail(address, verificationCodeID, userID string, verified, preferred bool) (Email, *rerror.Error)
- func (d *Datastore) CreateKeyPair(name, userID string, verificationCodeID string, verified bool, days int32) (KeyPair, *datastore.Key, *rerror.Error)
- func (d *Datastore) CreateSession(userAgent, ip, userID, verificationCodeID string) (Session, *datastore.Key, *rerror.Error)
- func (d *Datastore) CreateUser(fullName, alias string) (User, *datastore.Key, *rerror.Error)
- func (d *Datastore) CreateVerificationCode() (VerificationCode, *datastore.Key, *rerror.Error)
- func (d *Datastore) ExtendSession(sessionID string) (Session, *datastore.Key, *rerror.Error)
- func (d *Datastore) ExtendUserExpiration(userID string) *rerror.Error
- func (d *Datastore) GetEmailBy(field, value string, keysOnly bool) (Email, *datastore.Key, *rerror.Error)
- func (d *Datastore) GetEmailsByUserID(userID string, verified bool, preferred bool, keysOnly bool) ([]Email, []*datastore.Key, *rerror.Error)
- func (d *Datastore) GetKeyPairBy(field, value string, keysOnly bool) (KeyPair, *datastore.Key, *rerror.Error)
- func (d *Datastore) GetKeyPairByKeyAndSecret(key, secret string, valid, keysOnly bool) (KeyPair, *datastore.Key, *rerror.Error)
- func (d *Datastore) GetSessionBy(field, value string, valid, keysOnly bool) (Session, *datastore.Key, *rerror.Error)
- func (d *Datastore) GetUserBy(field, value string, enabled bool) (User, *datastore.Key, *rerror.Error)
- func (d *Datastore) GetVerificationCodeByID(verificationCodeID string, valid, keysOnly bool) (VerificationCode, *datastore.Key, *rerror.Error)
- func (d *Datastore) SetPreferredEmail(userID, emailID string) *rerror.Error
- func (d *Datastore) VerifyEmail(verificationCodeID string) *rerror.Error
- func (d *Datastore) VerifyKeyPair(verificationCodeID string) *rerror.Error
- func (d *Datastore) VerifySession(verificationCodeID string) *rerror.Error
- type Email
- type KeyPair
- type Session
- type User
- type VerificationCode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
func (*Datastore) CreateEmail ¶
func (*Datastore) CreateKeyPair ¶
func (*Datastore) CreateSession ¶
func (*Datastore) CreateUser ¶
func (*Datastore) CreateVerificationCode ¶
func (*Datastore) ExtendSession ¶
func (*Datastore) ExtendUserExpiration ¶
func (*Datastore) GetEmailBy ¶
func (*Datastore) GetEmailsByUserID ¶
func (*Datastore) GetKeyPairBy ¶
func (*Datastore) GetKeyPairByKeyAndSecret ¶
func (*Datastore) GetSessionBy ¶
func (*Datastore) GetVerificationCodeByID ¶
func (*Datastore) SetPreferredEmail ¶
func (*Datastore) VerifyEmail ¶
func (*Datastore) VerifyKeyPair ¶
Click to show internal directories.
Click to hide internal directories.