oauth

package
v1.14.19 Latest Latest
Warning

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

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

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.

Jump to

Keyboard shortcuts

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