mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-01 06:33:18 +02:00
- refactored code - moved api/v1/auth to auth/ - security enhancement - env example update - default jwt ttl changed to 24 hours
8 lines
96 B
Go
8 lines
96 B
Go
package auth
|
|
|
|
import "net/http"
|
|
|
|
type Provider interface {
|
|
CheckToken(r *http.Request) error
|
|
}
|