auth

package
v0.0.0-...-23cb155 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MulanPSL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyauthAuther

type KeyauthAuther struct {
	// contains filtered or unexported fields
}

func NewKeyauthAuther

func NewKeyauthAuther(auth token.ServiceClient) *KeyauthAuther

func (*KeyauthAuther) GinAuthHandlerFunc

func (a *KeyauthAuther) GinAuthHandlerFunc() gin.HandlerFunc

Gin auth Middleware

func (*KeyauthAuther) RestfulAuthHandlerFunc

func (a *KeyauthAuther) RestfulAuthHandlerFunc(
	req *restful.Request,
	resp *restful.Response,
	chain *restful.FilterChain,
)

Go-Restful auth Middleware

Jump to

Keyboard shortcuts

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