authMethod

package
v1.14.21 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthMethodConfigHandler

func GetAuthMethodConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetAuthMethodConfigHandler documents Get auth method config.

@Summary Get auth method config @Tags admin @Accept json @Produce json @Security BearerAuth @Param request query dto.GetAuthMethodConfigRequest false "Request parameters" @Success 200 {object} result.ResponseSuccessBean{data=dto.AuthMethodConfig} @Router /v1/admin/auth-method/config [get]

func GetAuthMethodListHandler

func GetAuthMethodListHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetAuthMethodListHandler documents Get auth method list.

@Summary Get auth method list @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.GetAuthMethodListResponse} @Router /v1/admin/auth-method/list [get]

func GetEmailPlatformHandler

func GetEmailPlatformHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetEmailPlatformHandler documents Get email support platform.

@Summary Get email support platform @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.PlatformResponse} @Router /v1/admin/auth-method/email_platform [get]

func GetSmsPlatformHandler

func GetSmsPlatformHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetSmsPlatformHandler documents Get sms support platform.

@Summary Get sms support platform @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.PlatformResponse} @Router /v1/admin/auth-method/sms_platform [get]

func TestEmailSendHandler

func TestEmailSendHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

TestEmailSendHandler documents Test email send.

@Summary Test email send @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.TestEmailSendRequest true "Request parameters" @Success 200 {object} result.ResponseSuccessBean @Router /v1/admin/auth-method/test_email_send [post]

func TestSmsSendHandler

func TestSmsSendHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

TestSmsSendHandler documents Test sms send.

@Summary Test sms send @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.TestSmsSendRequest true "Request parameters" @Success 200 {object} result.ResponseSuccessBean @Router /v1/admin/auth-method/test_sms_send [post]

func UpdateAuthMethodConfigHandler

func UpdateAuthMethodConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

UpdateAuthMethodConfigHandler documents Update auth method config.

@Summary Update auth method config @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.UpdateAuthMethodConfigRequest true "Request parameters" @Success 200 {object} result.ResponseSuccessBean{data=dto.AuthMethodConfig} @Router /v1/admin/auth-method/config [put]

Types

This section is empty.

Jump to

Keyboard shortcuts

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