Documentation
¶
Index ¶
- Constants
- type Manager
- func (m *Manager) AppleLoginMobile(login request.AppleMobileLogin) (map[string]string, *perror.PlutoError)
- func (m *Manager) EmailLogin(login request.MailLogin) (map[string]string, *perror.PlutoError)
- func (m *Manager) GoogleLoginMobile(login request.GoogleMobileLogin) (map[string]string, *perror.PlutoError)
- func (m *Manager) RefreshAccessToken(rat request.RefreshAccessToken) (map[string]string, *perror.PlutoError)
- func (m *Manager) RegisterVerify(token string) *perror.PlutoError
- func (m *Manager) RegisterVerifyMail(rvm request.RegisterVerifyMail, baseURL string) *perror.PlutoError
- func (m *Manager) RegisterWithEmail(register request.MailRegister) (uint, *perror.PlutoError)
- func (m *Manager) ResetPassword(rp request.ResetPassword) *perror.PlutoError
- func (m *Manager) ResetPasswordMail(rpm request.ResetPasswordMail, baseURL string) *perror.PlutoError
- func (m *Manager) ResetPasswordPage(token string) *perror.PlutoError
- func (m *Manager) UpdateUserInfo(token string, uui request.UpdateUserInfo) *perror.PlutoError
- func (m *Manager) UserInfo(token string) (*models.User, *perror.PlutoError)
- func (m *Manager) WechatLoginMobile(login request.WechatMobileLogin) (map[string]string, *perror.PlutoError)
Constants ¶
View Source
const ( MAILLOGIN = "mail" GOOGLELOGIN = "google" WECHATLOGIN = "wechat" APPLELOGIN = "apple" )
View Source
const ( OperationMailLogin = "maillogin" OperationGoogleLogin = "googlelogin" OperationWechatLogin = "wechatlogin" OperationAppleLogin = "applelogin" OperationLogout = "logout" OperationResetPassword = "reset_password" OperationRefreshToken = "refresh_token" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) AppleLoginMobile ¶ added in v0.2.0
func (m *Manager) AppleLoginMobile(login request.AppleMobileLogin) (map[string]string, *perror.PlutoError)
func (*Manager) EmailLogin ¶
func (*Manager) GoogleLoginMobile ¶
func (m *Manager) GoogleLoginMobile(login request.GoogleMobileLogin) (map[string]string, *perror.PlutoError)
func (*Manager) RefreshAccessToken ¶
func (m *Manager) RefreshAccessToken(rat request.RefreshAccessToken) (map[string]string, *perror.PlutoError)
func (*Manager) RegisterVerify ¶
func (m *Manager) RegisterVerify(token string) *perror.PlutoError
func (*Manager) RegisterVerifyMail ¶
func (m *Manager) RegisterVerifyMail(rvm request.RegisterVerifyMail, baseURL string) *perror.PlutoError
func (*Manager) RegisterWithEmail ¶
func (m *Manager) RegisterWithEmail(register request.MailRegister) (uint, *perror.PlutoError)
func (*Manager) ResetPassword ¶
func (m *Manager) ResetPassword(rp request.ResetPassword) *perror.PlutoError
func (*Manager) ResetPasswordMail ¶
func (m *Manager) ResetPasswordMail(rpm request.ResetPasswordMail, baseURL string) *perror.PlutoError
func (*Manager) ResetPasswordPage ¶
func (m *Manager) ResetPasswordPage(token string) *perror.PlutoError
func (*Manager) UpdateUserInfo ¶
func (m *Manager) UpdateUserInfo(token string, uui request.UpdateUserInfo) *perror.PlutoError
func (*Manager) WechatLoginMobile ¶
func (m *Manager) WechatLoginMobile(login request.WechatMobileLogin) (map[string]string, *perror.PlutoError)
Click to show internal directories.
Click to hide internal directories.