auth

package
v0.3.0-alpha-2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(e *gin.Engine)

func OAuth2

func OAuth2(ctx *gin.Context)

/oauth2/login/:type

func OAuth2Api

func OAuth2Api(ctx *gin.Context)

func OAuth2Callback

func OAuth2Callback(ctx *gin.Context)

/oauth2/callback/:type

func OAuth2CallbackApi

func OAuth2CallbackApi(ctx *gin.Context)

/oauth2/callback/:type

func OAuth2EnabledApi

func OAuth2EnabledApi(ctx *gin.Context)

func RenderRedirect

func RenderRedirect(ctx *gin.Context, url string) error

func RenderToken

func RenderToken(ctx *gin.Context, url, token string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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