12345678910111213141516171819202122232425262728293031323334353637383940 |
-
-
- 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)
-
-
- RefreshAuthStatus(appID, status string)
-
-
- ProcessMessage(appID, msgType, event string, data []byte) error
- }
-
- var authorizer AuthorizerConfig
|