impl

package
v0.0.0-...-86e0aa6 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AppName = "token"
)

Functions

This section is empty.

Types

type TokenServiceImpl

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

func (*TokenServiceImpl) AllowOverwrite

func (u *TokenServiceImpl) AllowOverwrite() bool

func (*TokenServiceImpl) Close

func (u *TokenServiceImpl) Close(ctx context.Context) error

func (*TokenServiceImpl) Init

func (u *TokenServiceImpl) Init() error

func (*TokenServiceImpl) Login

登灵接口(额发Token)

func (*TokenServiceImpl) Logout

登灵接口(销毁Token)

func (*TokenServiceImpl) Name

func (u *TokenServiceImpl) Name() string

func (*TokenServiceImpl) Priority

func (u *TokenServiceImpl) Priority() int

func (*TokenServiceImpl) ValiateToken

func (c *TokenServiceImpl) ValiateToken(ctx context.Context, req *token.ValiateTokenRequst) (*token.Token, error)

校验Token 是给內部中间层使用 身份校验层

func (*TokenServiceImpl) Version

func (u *TokenServiceImpl) Version() string

Jump to

Keyboard shortcuts

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