GoDoxy/internal/auth/provider.go
yusing b815c6fd69 feat(oidc): support token refreshing via offline_access scope
- refactored code
- moved api/v1/auth to auth/
- security enhancement
- env example update
- default jwt ttl changed to 24 hours
2025-04-23 17:50:22 +08:00

7 lines
96 B
Go

package auth
import "net/http"
type Provider interface {
CheckToken(r *http.Request) error
}