fix: issues
This commit is contained in:
11
backend/pkg/oauth/contracts.go
Normal file
11
backend/pkg/oauth/contracts.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package oauth
|
||||
|
||||
import "time"
|
||||
|
||||
type OAuthInfo interface {
|
||||
GetOpenID() string
|
||||
GetUnionID() string
|
||||
GetAccessToken() string
|
||||
GetRefreshToken() string
|
||||
GetExpiredAt() time.Time
|
||||
}
|
||||
Reference in New Issue
Block a user