feat: initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package auth
|
||||
|
||||
import "github.com/golang-jwt/jwt/v5"
|
||||
|
||||
type Authenticator interface {
|
||||
GenerateToken(jwt.Claims) (string, error)
|
||||
ValidateToken(string) (*jwt.Token, error)
|
||||
}
|
||||
Reference in New Issue
Block a user