auth

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Add = "add"
	In  = "in"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo any

type UseCase

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

func NewUseCase

func NewUseCase(conf *config.Config, depRepo depbiz.Repo, menuRepo menubiz.Repo) *UseCase

func (*UseCase) Auth

func (u *UseCase) Auth(ctx kratosx.Context, in *v1.AuthRequest) (*v1.AuthReply, error)

Auth 接口鉴权 后期计划,在这里增加鉴权资源的缓存,避免频繁查询。

Jump to

Keyboard shortcuts

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