Versions in this module Expand all Collapse all v0 v0.0.2 Jan 26, 2026 v0.0.1 Dec 18, 2025 Changes in this version + const Scope + func GenCaptcha() (id, b64s, answer string, err error) + func GenOpenToken(userCode string, appID string, org string, scope string) (tokenVal []byte, err error) + func GenRefreshToken(accessToken string) (token string) + func GenToken(uCode, loginType, scope string, ttl time.Duration) (tokenVal []byte, err error) + type DtoViewAccessToken struct + AccessToken string + ExpiresIn int64 + RefreshToken string + TokenType string