Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoToken = ErrUnauthorized.Wrap(errors.New("no token"))
ErrNoToken unwraps to ErrUnauthorized
Functions ¶
func Middleware ¶ added in v2.5.5
func Middleware[Claims any](opts MiddlewareOptions[Claims]) echo.MiddlewareFunc
func NewBuilder ¶ added in v2.5.5
Types ¶
type MiddlewareOptions ¶ added in v2.5.5
type TokenVerifier ¶ added in v2.5.5
type TokenVerifier struct {
Close context.CancelFunc
// contains filtered or unexported fields
}
func NewTokenVerifier ¶ added in v2.5.5
func NewTokenVerifier(ctx context.Context, url string) (*TokenVerifier, error)
Click to show internal directories.
Click to hide internal directories.