applications

package
v0.0.0-...-9eb7758 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Microservice

type Microservice struct {
	Log         *zap.Logger
	Jwt         utils.Jwt
	UserService services.UserService
}

func NewMicroservice

func NewMicroservice(log *zap.Logger, jwt utils.Jwt, userService services.UserService) *Microservice

func (*Microservice) AIAssistant

func (m *Microservice) AIAssistant(wr http.ResponseWriter, req *http.Request)

func (*Microservice) CheckEmailAvailability

func (m *Microservice) CheckEmailAvailability(wr http.ResponseWriter, req *http.Request)

func (*Microservice) ForgotPassword

func (m *Microservice) ForgotPassword(wr http.ResponseWriter, req *http.Request)

func (*Microservice) MFADisable

func (m *Microservice) MFADisable(wr http.ResponseWriter, req *http.Request)

func (*Microservice) MFAEnable

func (m *Microservice) MFAEnable(wr http.ResponseWriter, req *http.Request)

func (*Microservice) MFAGenerate

func (m *Microservice) MFAGenerate(wr http.ResponseWriter, req *http.Request)

func (*Microservice) MFAVerify

func (m *Microservice) MFAVerify(wr http.ResponseWriter, req *http.Request)
func (m *Microservice) MagicLink(wr http.ResponseWriter, req *http.Request)

func (*Microservice) Me

func (m *Microservice) Me(wr http.ResponseWriter, req *http.Request)

func (*Microservice) MiddlewareAllowContentType

func (m *Microservice) MiddlewareAllowContentType(next http.Handler) http.Handler

func (*Microservice) MiddlewareAuthentication

func (m *Microservice) MiddlewareAuthentication(next http.Handler) http.Handler

func (*Microservice) MiddlewareCORS

func (m *Microservice) MiddlewareCORS(next http.Handler) http.Handler

func (*Microservice) MiddlewareCleanPath

func (m *Microservice) MiddlewareCleanPath(next http.Handler) http.Handler

func (*Microservice) MiddlewareCsrf

func (m *Microservice) MiddlewareCsrf(next http.Handler) http.Handler

func (*Microservice) MiddlewareLogger

func (m *Microservice) MiddlewareLogger(next http.Handler) http.Handler

func (*Microservice) MiddlewarePermission

func (m *Microservice) MiddlewarePermission(next http.Handler) http.Handler

func (*Microservice) MiddlewareRateLimit

func (m *Microservice) MiddlewareRateLimit(next http.Handler) http.Handler

func (*Microservice) MiddlewareRecovery

func (m *Microservice) MiddlewareRecovery(next http.Handler) http.Handler

func (*Microservice) Organizations

func (m *Microservice) Organizations(wr http.ResponseWriter, req *http.Request)

func (*Microservice) RefreshToken

func (m *Microservice) RefreshToken(wr http.ResponseWriter, req *http.Request)

func (*Microservice) ResetPassword

func (m *Microservice) ResetPassword(wr http.ResponseWriter, req *http.Request)

func (*Microservice) SendVerificationEmail

func (m *Microservice) SendVerificationEmail(wr http.ResponseWriter, req *http.Request)

func (*Microservice) SignIn

func (m *Microservice) SignIn(wr http.ResponseWriter, req *http.Request)

func (*Microservice) SignInCallback

func (m *Microservice) SignInCallback(wr http.ResponseWriter, req *http.Request)

func (*Microservice) SignOut

func (m *Microservice) SignOut(wr http.ResponseWriter, req *http.Request)

func (*Microservice) SignUp

func (m *Microservice) SignUp(wr http.ResponseWriter, req *http.Request)

func (*Microservice) VerifyEmail

func (m *Microservice) VerifyEmail(wr http.ResponseWriter, req *http.Request)

func (*Microservice) WebHook

func (m *Microservice) WebHook(wr http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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