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

- code clean up - uncomment and simplify api auth handler - fix redirect url for frontend - proper redirect
9 lines
205 B
Go
9 lines
205 B
Go
package auth
|
|
|
|
import "net/http"
|
|
|
|
type Provider interface {
|
|
CheckToken(r *http.Request) error
|
|
LoginHandler(w http.ResponseWriter, r *http.Request)
|
|
LogoutHandler(w http.ResponseWriter, r *http.Request)
|
|
}
|