Documentation ¶
Index ¶
- type SessionConfig
- type User
- func (u *User) Active(c echo.Context) error
- func (u *User) ChangePassword(c echo.Context) error
- func (u *User) Info(c echo.Context) error
- func (u *User) Oauth2Callback(c echo.Context) error
- func (u *User) Oauth2SetState(c echo.Context) error
- func (u *User) ResetPassword(c echo.Context) error
- func (u *User) SendEmail(c echo.Context) error
- func (u *User) SignIn(c echo.Context) error
- func (u *User) SignOut(c echo.Context) error
- func (u *User) SignUp(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionConfig ¶
type User ¶
type User struct {
// contains filtered or unexported fields
}
func (*User) ChangePassword ¶
ChangePassword 修改密码, 用户在登录状态下
func (*User) Oauth2Callback ¶
Oauth2Callback oauth2 回调接口
func (*User) Oauth2SetState ¶
Oauth2SetState 设置 oauth2 state
func (*User) ResetPassword ¶
ResetPassword 用户忘记密码后重置密码,非登录状态
Click to show internal directories.
Click to hide internal directories.