uic

package
v3.11.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2017 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

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) Query

func (this *TeamController) Query()

for portal api: query team

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) Info

func (this *UserController) Info()

登录成功之后跳转的欢迎页面

func (*UserController) ProfileGet

func (this *UserController) ProfileGet()

展示当前用户的联系信息

func (*UserController) ProfilePost

func (this *UserController) ProfilePost()

更新个人信息

func (*UserController) QrCode

func (this *UserController) QrCode()

func (*UserController) Query

func (this *UserController) Query()

func (*UserController) ResetPassword

func (this *UserController) ResetPassword()

func (*UserController) Role

func (this *UserController) Role()

为某个用户设置角色,要求当前用户得是root

func (*UserController) Users

func (this *UserController) Users()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL