mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-19 20:32:35 +02:00

- refactored code - moved api/v1/auth to auth/ - security enhancement - env example update - default jwt ttl changed to 24 hours
7 lines
96 B
Go
7 lines
96 B
Go
package auth
|
|
|
|
import "net/http"
|
|
|
|
type Provider interface {
|
|
CheckToken(r *http.Request) error
|
|
}
|