auth

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthRequest added in v1.0.15

type AuthRequest struct {
	Path   string `json:"path"`
	Method string `json:"method"`
}

type Repo

type Repo any

type UseCase

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

func NewUseCase

func NewUseCase(conf *conf.Config) *UseCase

func (*UseCase) Auth

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

Auth 外部接口鉴权

Jump to

Keyboard shortcuts

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