This commit is contained in:
12
backend_v1/pkg/oauth/contracts.go
Normal file
12
backend_v1/pkg/oauth/contracts.go
Normal file
@@ -0,0 +1,12 @@
|
||||
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