auth

package
v0.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvironmentAccessTokenDuration

func EnvironmentAccessTokenDuration(c *gin.Context)

func EnvironmentHmacSigningKey

func EnvironmentHmacSigningKey(c *gin.Context)

func EnvironmentRefreshTokenDuration

func EnvironmentRefreshTokenDuration(c *gin.Context)

func HmacSigningMethod

func HmacSigningMethod(c *gin.Context)

func SetTokenDuration

func SetTokenDuration(d time.Duration) gin.HandlerFunc

func Use

Types

type Authenticator

type Authenticator interface {
	Authenticate(*gin.Context)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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