impl

package
v0.0.0-...-28af436 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenServiceImpl

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

func (*TokenServiceImpl) Init

func (i *TokenServiceImpl) Init() error

func (*TokenServiceImpl) Login

登录接口(颁发Token)

func (*TokenServiceImpl) Logout

退出接口(销毁Token)

func (*TokenServiceImpl) Name

func (i *TokenServiceImpl) Name() string

func (*TokenServiceImpl) ValiateToken

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

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

Jump to

Keyboard shortcuts

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