userinfo

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleUserInfo

func HandleUserInfo(w http.ResponseWriter, r *http.Request)

HandleUserInfo godoc @Summary Get user information @Description Retrieves user information based on the access token @Tags userinfo @Accept json @Produce json @Param Authorization header string true "Bearer access token" @Success 200 {object} map[string]interface{} @Failure 401 {object} model.ApiError @Failure 500 {object} model.ApiError @Router /oauth2/userinfo [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

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