Documentation
¶
Index ¶
- Constants
- 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
Constants ¶
View Source
const (
Scope = "passport"
)
Variables ¶
This section is empty.
Functions ¶
func GenCaptcha ¶
func GenOpenToken ¶
func GenOpenToken(userCode string, appID string, org string, scope string) (tokenVal []byte, err error)
GenOpenToken SaaS服务,供第三方使用
func GenRefreshToken ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.