authentication

package
v0.0.0-...-79b8b17 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const AppName = "mcenterAuthFilter"

Variables

This section is empty.

Functions

func ErrReadCookie

func ErrReadCookie(e error) *utils.ApiException

func ErrTokenAuth

func ErrTokenAuth(e error) *utils.ApiException

Types

type Impl

type Impl struct {
	ioc.ObjectImpl
	// contains filtered or unexported fields
}

func (*Impl) Filter

func (i *Impl) Filter() restful.FilterFunction

Filter 对每一个Rest 请求,内部调用gRPC 接口去校验

func (*Impl) Init

func (i *Impl) Init()

func (*Impl) Name

func (i *Impl) Name() string

func (*Impl) Priority

func (i *Impl) Priority() int

type MetaData

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

func NewMetaData

func NewMetaData(d map[string]any) *MetaData

func (*MetaData) GetBool

func (md *MetaData) GetBool(k string) bool

Jump to

Keyboard shortcuts

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