auth

package
v0.0.0-...-a038544 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SocialAuther social.SocialAuther = new(socialAuther)

Functions

func OAuthAccess

func OAuthAccess(ctx *context.Context)

func OAuthRedirect

func OAuthRedirect(ctx *context.Context)

Types

type ForgotRouter

type ForgotRouter struct {
	base.BaseRouter
}

ForgotRouter serves login page.

func (*ForgotRouter) Get

func (this *ForgotRouter) Get()

Get implemented Get method for ForgotRouter.

func (*ForgotRouter) Post

func (this *ForgotRouter) Post()

Get implemented Post method for ForgotRouter.

func (*ForgotRouter) Reset

func (this *ForgotRouter) Reset()

Reset implemented user password reset.

func (*ForgotRouter) ResetPost

func (this *ForgotRouter) ResetPost()

Reset implemented user password reset.

type LoginRouter

type LoginRouter struct {
	base.BaseRouter
}

LoginRouter serves login page.

func (*LoginRouter) Get

func (this *LoginRouter) Get()

Get implemented login page.

func (*LoginRouter) Login

func (this *LoginRouter) Login()

Login implemented user login.

func (*LoginRouter) Logout

func (this *LoginRouter) Logout()

Logout implemented user logout page.

type RegisterRouter

type RegisterRouter struct {
	base.BaseRouter
}

RegisterRouter serves register page.

func (*RegisterRouter) Active

func (this *RegisterRouter) Active()

Active implemented check Email actice code.

func (*RegisterRouter) ActiveSuccess

func (this *RegisterRouter) ActiveSuccess()

ActiveSuccess implemented success page when email active code verified.

func (*RegisterRouter) Get

func (this *RegisterRouter) Get()

Get implemented Get method for RegisterRouter.

func (*RegisterRouter) Register

func (this *RegisterRouter) Register()

Register implemented Post method for RegisterRouter.

type SettingsRouter

type SettingsRouter struct {
	base.BaseRouter
}

SettingsRouter serves user settings.

func (*SettingsRouter) Profile

func (this *SettingsRouter) Profile()

Profile implemented user profile settings page.

func (*SettingsRouter) ProfileSave

func (this *SettingsRouter) ProfileSave()

ProfileSave implemented save user profile.

type SocialAuthRouter

type SocialAuthRouter struct {
	base.BaseRouter
}

func (*SocialAuthRouter) Connect

func (this *SocialAuthRouter) Connect()

func (*SocialAuthRouter) ConnectPost

func (this *SocialAuthRouter) ConnectPost()

type UserRouter

type UserRouter struct {
	base.BaseRouter
}

func (*UserRouter) Comments

func (this *UserRouter) Comments()

func (*UserRouter) Favs

func (this *UserRouter) Favs()

func (*UserRouter) Followers

func (this *UserRouter) Followers()

func (*UserRouter) Following

func (this *UserRouter) Following()

func (*UserRouter) Home

func (this *UserRouter) Home()

func (*UserRouter) Posts

func (this *UserRouter) Posts()

Jump to

Keyboard shortcuts

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