Versions in this module Expand all Collapse all v0 v0.1.0 Sep 30, 2014 Changes in this version + type AuthorizationCode struct + Code string + type Client interface + Confirm func(code string) (AuthorizationCode, error) + Forgot func(code, password string) error + GetAppId func() string + LogIn func(credentials Credentials) (code AuthorizationCode, err error) + Negotiate func(code AuthorizationCode) (user User, err error) + Recover func(email string) error + SetAppId func(appId string) + SignUp func(info SignUp) (err error) + func NewClient(appId string) Client + type ClientBase struct + func (client *ClientBase) Confirm(code string) (AuthorizationCode, error) + func (client *ClientBase) Forgot(code, password string) error + func (client *ClientBase) GetAppId() string + func (client *ClientBase) LogIn(info Credentials) (code AuthorizationCode, err error) + func (client *ClientBase) Negotiate(code AuthorizationCode) (User, error) + func (client *ClientBase) Recover(email string) error + func (client *ClientBase) SetAppId(appId string) + func (client *ClientBase) SignUp(info SignUp) (err error) + type Credentials struct + Email string + Password string + type FlatErrorList map[string]string + func (messages FlatErrorList) ToError() *IdError + type IdError struct + FirstMessage string + Messages FlatErrorList + func (err IdError) Error() string + type MappedErrorList map[string]map[string]string + type SignUp struct + Email string + Fullname string + Password string + PasswordConfirmation string + type Token struct + Code string + type User struct + Info UserInfo + Token Token + type UserInfo struct + Email string + Fullname string