You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
309 B
10 lines
309 B
package controller
|
|
|
|
import "context"
|
|
|
|
type AuthInterface interface {
|
|
GetTokens(ctx context.Context, userID, platform string) (map[string]int, error)
|
|
DeleteToken(ctx context.Context, userID, platform string) error
|
|
CreateToken(ctx context.Context, userID string, platformID int, ttl int64) (string, error)
|
|
}
|