Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppleLoginCallbackHandler ¶
func AppleLoginCallbackHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
AppleLoginCallbackHandler documents Apple Login Callback.
@Summary Apple Login Callback @Tags common @Accept x-www-form-urlencoded @Produce json @Param code formData string true "Authorization code" @Param id_token formData string false "Apple identity token" @Param state formData string false "OAuth state" @Success 302 {string} string "Redirect to the configured frontend" @Router /v1/auth/oauth/callback/apple [post]
func OAuthLoginGetTokenHandler ¶
func OAuthLoginGetTokenHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
OAuthLoginGetTokenHandler documents OAuth login get token.
@Summary OAuth login get token @Tags common @Accept json @Produce json @Param request body dto.OAuthLoginGetTokenRequest true "Request parameters" @Success 200 {object} result.ResponseSuccessBean{data=dto.LoginResponse} @Router /v1/auth/oauth/login/token [post]
func OAuthLoginHandler ¶
func OAuthLoginHandler(svcCtx *svc.ServiceContext) app.HandlerFunc
OAuthLoginHandler documents OAuth login.
@Summary OAuth login @Tags common @Accept json @Produce json @Param request body dto.OAthLoginRequest true "Request parameters" @Success 200 {object} result.ResponseSuccessBean{data=dto.OAuthLoginResponse} @Router /v1/auth/oauth/login [post]
Types ¶
This section is empty.