mirror of
https://github.com/wisplite/tether.git
synced 2026-05-01 06:22:41 -05:00
auth?
This commit is contained in:
@@ -18,3 +18,7 @@ type MutationCtx struct {
|
||||
AuthCtx *AuthCtx
|
||||
Params map[string]interface{}
|
||||
}
|
||||
|
||||
type Auth interface {
|
||||
GetUserID(token string) (string, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user