internal

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthService1

type AuthService1 struct {
	RegistryList []auth.Registry //starter:inject(".")
	// contains filtered or unexported fields
}

AuthService1 ...

func (*AuthService1) Authenticate

func (inst *AuthService1) Authenticate(a auth.Authentication) (*auth.Result, error)

Authenticate 验证

func (*AuthService1) Authorize

func (inst *AuthService1) Authorize(a auth.Authorization) error

Authorize 授权

func (*AuthService1) Login

Login 登录

type AuthService2

type AuthService2 struct {
	Servic1 auth.Service //starter:inject("#")
	// contains filtered or unexported fields
}

AuthService2 ...

func (*AuthService2) Login

func (inst *AuthService2) Login(c context.Context, a *rbac.AuthDTO) (*rbac.AuthDTO, error)

Login 登录

type JWTService

type JWTService struct {
	RegistryList []jwt.Registry //starter:inject(".")
	// contains filtered or unexported fields
}

JWTService 实现 jwt.Service

func (*JWTService) Decode

func (inst *JWTService) Decode(t jwt.Text) (*jwt.Token, error)

Decode ...

func (*JWTService) Encode

func (inst *JWTService) Encode(o *jwt.Token) (jwt.Text, error)

Encode ...

func (*JWTService) GetDTO

func (inst *JWTService) GetDTO(c context.Context) (*jwt.Token, error)

GetDTO ...

func (*JWTService) GetText

func (inst *JWTService) GetText(c context.Context) (jwt.Text, error)

GetText ...

func (*JWTService) SetDTO

func (inst *JWTService) SetDTO(c context.Context, o *jwt.Token) error

SetDTO ...

func (*JWTService) SetText

func (inst *JWTService) SetText(c context.Context, t jwt.Text) error

SetText ...

type TableReg

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

TableReg ...

func (*TableReg) ListTableRegistrations

func (inst *TableReg) ListTableRegistrations() []*libgorm.TableRegistration

ListTableRegistrations ...

Jump to

Keyboard shortcuts

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