Versions in this module Expand all Collapse all v1 v1.2.9 Nov 29, 2025 v1.2.8 Nov 27, 2025 Changes in this version + type Config struct + App string + Expire time.Duration + Renewal time.Duration + Secret string + UniqueDevice bool + UniquePlatform bool + Whitelist map[string]bool + type JWT interface + AddBlacklist func(token string) + CompareUniqueToken func(key, token string) bool + Config func() *Config + IsBlacklist func(token string) bool + NewToken func(m map[string]any) (string, error) + ParseByToken func(token string, dst any) error + Renewal func(ctx context.Context) (string, error) + SetUnique func(key, token string) error + func New(ctx kratosx.Context, conf *Config) JWT