Versions in this module Expand all Collapse all v0 v0.10.1 Dec 6, 2024 v0.10.0 Dec 6, 2024 Changes in this version + type ProxyToken struct + func CreateProxyToken(token string) *ProxyToken + func NewProxyToken(size int) *ProxyToken + func ParseProxyToken(token string) *ProxyToken + func (pt *ProxyToken) ID() string + func (pt *ProxyToken) JWT(rlog log.Ext1FieldLogger, tx *sqlx.Tx) (jwt string, valid bool, err error) + func (pt *ProxyToken) SetJWT(jwt string, mID mtid.MTID) (err error) + func (pt ProxyToken) Delete(rlog log.Ext1FieldLogger, tx *sqlx.Tx) error + func (pt ProxyToken) MTID() mtid.MTID + func (pt ProxyToken) Store(rlog log.Ext1FieldLogger, tx *sqlx.Tx) error + func (pt ProxyToken) String() string + func (pt ProxyToken) Token() string + func (pt ProxyToken) Update(rlog log.Ext1FieldLogger, tx *sqlx.Tx) error + type ShortToken struct + func NewShortToken(jwt string, mID mtid.MTID) (*ShortToken, error) + func ParseShortToken(token string) *ShortToken