helpers

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpiredTokenError

func ExpiredTokenError(e echo.Context) error

func ForbiddenError

func ForbiddenError(e echo.Context, suffix *string) error

func InputError

func InputError(e echo.Context, custom *string) error

func InvalidTokenError

func InvalidTokenError(e echo.Context) error

func OauthNormalizeHtu

func OauthNormalizeHtu(u *url.URL) string

func OauthParseHtu

func OauthParseHtu(htu string) (string, error)

func ParseJWKFromBytes

func ParseJWKFromBytes(b []byte) (jwk.Key, error)

func RandomBytes

func RandomBytes(n int) []byte

func RandomHex

func RandomHex(n int) (string, error)

func RandomVarchar

func RandomVarchar(length int) string

func ServerError

func ServerError(e echo.Context, suffix *string) error

func UnauthorizedError

func UnauthorizedError(e echo.Context, suffix *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