12345678910111213141516171819202122232425262728293031323334 |
-
-
- package config
-
- import (
- "time"
- )
-
-
- type AuthorizerConfig interface {
-
- GetAccessToken(appID string) string
-
-
- GetRefreshToken(appID string) string
-
-
- RefreshToken(appID, token, refreshToken string, expire time.Time) error
-
-
- RefreshFuncInfo(appID string, lst []int)
- }
-
- var authorizer AuthorizerConfig
|