password

package
v0.0.0-...-2383c70 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PasswordTokenIssuer

type PasswordTokenIssuer struct {
	ioc.ObjectImpl

	// Password颁发的Token 过去时间由系统配置, 不允许用户自己设置
	ExpiredTTLSecond int `json:"expired_ttl_second" toml:"expired_ttl_second" yaml:"expired_ttl_second" env:"EXPIRED_TTL_SECOND"`
	// contains filtered or unexported fields
}

func (*PasswordTokenIssuer) Init

func (p *PasswordTokenIssuer) Init() error

func (*PasswordTokenIssuer) IssueToken

func (p *PasswordTokenIssuer) IssueToken(ctx context.Context, parameter token.IssueParameter) (*token.Token, error)

func (*PasswordTokenIssuer) Name

func (p *PasswordTokenIssuer) Name() string

Jump to

Keyboard shortcuts

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