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
Click to show internal directories.
Click to hide internal directories.