provider

package
v0.0.0-...-055c0a6 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: MulanPSL-2.0 Imports: 3 Imported by: 0

README

令牌颁发器

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() error

func Registe

func Registe(i Issuer)

注册令牌颁发器

Types

type Issuer

type Issuer interface {
	Init() error
	GrantType() token.GRANT_TYPE
	IssueToken(context.Context, *token.IssueTokenRequest) (*token.Token, error)
}

令牌颁发器

func Get

func Get(gt token.GRANT_TYPE) Issuer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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