Documentation ¶
Index ¶
- func ConfigRoutes()
- type AuthApiController
- func (this *AuthApiController) AuthSession()
- func (this *AuthApiController) CountNumOfTeam()
- func (this *AuthApiController) CreateSession(uid int64, maxAge int) (sig string, expired int)
- func (this *AuthApiController) GetUser()
- func (this *AuthApiController) Login()
- func (this *AuthApiController) Logout()
- func (this *AuthApiController) Register()
- func (this *AuthApiController) UpdateUser()
- type AuthController
- func (this *AuthController) CreateSession(uid int64, maxAge int) int
- func (this *AuthController) LoginGet()
- func (this *AuthController) LoginPost()
- func (this *AuthController) LoginThirdParty()
- func (this *AuthController) LoginWithToken()
- func (this *AuthController) Logout()
- func (this *AuthController) RegisterGet()
- func (this *AuthController) RegisterPost()
- type SsoController
- type TeamController
- func (this *TeamController) All()
- func (this *TeamController) CreateTeamGet()
- func (this *TeamController) CreateTeamPost()
- func (this *TeamController) DeleteTeam()
- func (this *TeamController) EditGet()
- func (this *TeamController) EditPost()
- func (this *TeamController) Query()
- func (this *TeamController) Teams()
- func (this *TeamController) Users()
- type UserController
- func (this *UserController) About()
- func (this *UserController) ChangePassword()
- func (this *UserController) CreateRoot()
- func (this *UserController) CreateUserGet()
- func (this *UserController) CreateUserPost()
- func (this *UserController) DeleteUser()
- func (this *UserController) EditGet()
- func (this *UserController) EditPost()
- func (this *UserController) In()
- func (this *UserController) Info()
- func (this *UserController) ProfileGet()
- func (this *UserController) ProfilePost()
- func (this *UserController) QrCode()
- func (this *UserController) Query()
- func (this *UserController) ResetPassword()
- func (this *UserController) Role()
- func (this *UserController) Users()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigRoutes ¶
func ConfigRoutes()
Types ¶
type AuthApiController ¶
type AuthApiController struct {
base.BaseController
}
func (*AuthApiController) AuthSession ¶
func (this *AuthApiController) AuthSession()
func (*AuthApiController) CountNumOfTeam ¶
func (this *AuthApiController) CountNumOfTeam()
func (*AuthApiController) CreateSession ¶
func (this *AuthApiController) CreateSession(uid int64, maxAge int) (sig string, expired int)
func (*AuthApiController) GetUser ¶
func (this *AuthApiController) GetUser()
func (*AuthApiController) Login ¶
func (this *AuthApiController) Login()
func (*AuthApiController) Logout ¶
func (this *AuthApiController) Logout()
func (*AuthApiController) Register ¶
func (this *AuthApiController) Register()
func (*AuthApiController) UpdateUser ¶
func (this *AuthApiController) UpdateUser()
type AuthController ¶
type AuthController struct {
base.BaseController
}
func (*AuthController) CreateSession ¶
func (this *AuthController) CreateSession(uid int64, maxAge int) int
func (*AuthController) LoginGet ¶
func (this *AuthController) LoginGet()
func (*AuthController) LoginPost ¶
func (this *AuthController) LoginPost()
func (*AuthController) LoginThirdParty ¶
func (this *AuthController) LoginThirdParty()
*
- @function name: func (this *AuthController) LoginThirdParty()
- @description: This function returns third party login URL.
- @related issues: OWL-206
- @param: void
- @return: void
- @author: Don Hsieh
- @since: 12/17/2015
- @last modified: 12/17/2015
- @called by: beego.Router("/auth/third-party", &AuthController{}, "post:LoginThirdParty")
- in fe/http/uic/uic_routes.go
func (*AuthController) LoginWithToken ¶
func (this *AuthController) LoginWithToken()
*
- @function name: func (this *AuthController) LoginWithToken()
- @description: This function logins user with third party token.
- @related issues: OWL-247, OWL-206
- @param: void
- @return: void
- @author: Don Hsieh
- @since: 12/16/2015
- @last modified: 01/08/2016
- @called by: beego.Router("/auth/login/:token", &AuthController{}, "get:LoginWithToken")
- in fe/http/uic/uic_routes.go
func (*AuthController) Logout ¶
func (this *AuthController) Logout()
func (*AuthController) RegisterGet ¶
func (this *AuthController) RegisterGet()
func (*AuthController) RegisterPost ¶
func (this *AuthController) RegisterPost()
type SsoController ¶
type SsoController struct {
base.BaseController
}
func (*SsoController) Logout ¶
func (this *SsoController) Logout()
func (*SsoController) Sig ¶
func (this *SsoController) Sig()
func (*SsoController) User ¶
func (this *SsoController) User()
type TeamController ¶
type TeamController struct {
base.BaseController
}
func (*TeamController) All ¶
func (this *TeamController) All()
func (*TeamController) CreateTeamGet ¶
func (this *TeamController) CreateTeamGet()
func (*TeamController) CreateTeamPost ¶
func (this *TeamController) CreateTeamPost()
func (*TeamController) DeleteTeam ¶
func (this *TeamController) DeleteTeam()
func (*TeamController) EditGet ¶
func (this *TeamController) EditGet()
func (*TeamController) EditPost ¶
func (this *TeamController) EditPost()
func (*TeamController) Teams ¶
func (this *TeamController) Teams()
func (*TeamController) Users ¶
func (this *TeamController) Users()
type UserController ¶
type UserController struct {
base.BaseController
}
func (*UserController) About ¶
func (this *UserController) About()
func (*UserController) ChangePassword ¶
func (this *UserController) ChangePassword()
func (*UserController) CreateRoot ¶
func (this *UserController) CreateRoot()
func (*UserController) CreateUserGet ¶
func (this *UserController) CreateUserGet()
func (*UserController) CreateUserPost ¶
func (this *UserController) CreateUserPost()
func (*UserController) DeleteUser ¶
func (this *UserController) DeleteUser()
func (*UserController) EditGet ¶
func (this *UserController) EditGet()
func (*UserController) EditPost ¶
func (this *UserController) EditPost()
func (*UserController) In ¶
func (this *UserController) In()
func (*UserController) QrCode ¶
func (this *UserController) QrCode()
func (*UserController) Query ¶
func (this *UserController) Query()
func (*UserController) ResetPassword ¶
func (this *UserController) ResetPassword()
func (*UserController) Users ¶
func (this *UserController) Users()
Click to show internal directories.
Click to hide internal directories.