v1

package
Version: v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router struct {
	// contains filtered or unexported fields
}

func NewRouter

func NewRouter(manager *manage.Manager, config *config.Config, logger *log.PlutoLog) *Router

func (*Router) AppleLoginMobile

func (router *Router) AppleLoginMobile(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) ApplicationDefaultRole

func (router *Router) ApplicationDefaultRole(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) AuthorizePage

func (router *Router) AuthorizePage(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) Binding

func (router *Router) Binding(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) CreateApplication

func (router *Router) CreateApplication(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) CreateRole

func (router *Router) CreateRole(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) CreateScope

func (router *Router) CreateScope(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) FindUser

func (router *Router) FindUser(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) GoogleLoginMobile

func (router *Router) GoogleLoginMobile(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) HealthCheck

func (router *Router) HealthCheck(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) ListApplications

func (router *Router) ListApplications(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) ListRoles

func (router *Router) ListRoles(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) ListScopes

func (router *Router) ListScopes(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) Login

func (router *Router) Login(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) LoginPage

func (router *Router) LoginPage(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) OAuthApproveClient

func (router *Router) OAuthApproveClient(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) OAuthAuthorize

func (router *Router) OAuthAuthorize(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) OAuthCreateClient

func (router *Router) OAuthCreateClient(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) OAuthGetClient added in v1.2.0

func (router *Router) OAuthGetClient(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) OAuthLogin

func (router *Router) OAuthLogin(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) OAuthTokens

func (router *Router) OAuthTokens(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) PasswordResetMail

func (router *Router) PasswordResetMail(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) PublicKey

func (router *Router) PublicKey(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) PublicUserInfo added in v1.3.3

func (router *Router) PublicUserInfo(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) RefreshToken

func (router *Router) RefreshToken(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) Register

func (router *Router) Register(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) RegistrationVerifyPage

func (router *Router) RegistrationVerifyPage(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) ResetPassword

func (router *Router) ResetPassword(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) ResetPasswordPage

func (router *Router) ResetPasswordPage(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) RoleDefaultScope

func (router *Router) RoleDefaultScope(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) RoleScopeUpdate

func (router *Router) RoleScopeUpdate(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) SetUserRole

func (router *Router) SetUserRole(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) Unbinding

func (router *Router) Unbinding(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) UpdateUserInfo

func (router *Router) UpdateUserInfo(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) UserInfo

func (router *Router) UserInfo(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) UserSummary

func (router *Router) UserSummary(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) VerifyAccessToken

func (router *Router) VerifyAccessToken(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) VerifyMail

func (router *Router) VerifyMail(w http.ResponseWriter, r *http.Request) *perror.PlutoError

func (*Router) WechatLoginMobile

func (router *Router) WechatLoginMobile(w http.ResponseWriter, r *http.Request) *perror.PlutoError

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL