Help us shape the future of Go! Take the 2026 Go Developer Survey

authmethod

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package authmethod holds the identity module's admin handlers of the authentication methods: their configuration, the sender platforms and the test sends.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthMethodConfigHandler

func GetAuthMethodConfigHandler(service identity.Service) 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} httpx.ResponseSuccessBean{data=dto.AuthMethodConfig} @Router /v1/admin/auth-method/config [get]

func GetAuthMethodListHandler

func GetAuthMethodListHandler(service identity.Service) app.HandlerFunc

GetAuthMethodListHandler documents Get auth method list.

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

func GetEmailPlatformHandler

func GetEmailPlatformHandler(service identity.Service) app.HandlerFunc

GetEmailPlatformHandler documents Get email support platform.

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

func GetSmsPlatformHandler

func GetSmsPlatformHandler(service identity.Service) app.HandlerFunc

GetSmsPlatformHandler documents Get sms support platform.

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

func TestEmailSendHandler

func TestEmailSendHandler(service identity.Service) 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} httpx.ResponseSuccessBean @Router /v1/admin/auth-method/test_email_send [post]

func TestSmsSendHandler

func TestSmsSendHandler(service identity.Service) 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} httpx.ResponseSuccessBean @Router /v1/admin/auth-method/test_sms_send [post]

func UpdateAuthMethodConfigHandler

func UpdateAuthMethodConfigHandler(service identity.Service) 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} httpx.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