mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2025-11-02 11:57:04 +08:00
refactoring (sso): sso middleware
This commit is contained in:
@ -22,7 +22,7 @@ type IBackend interface {
|
||||
|
||||
type IAuth interface {
|
||||
Setup() Form
|
||||
EntryPoint(req *http.Request, res http.ResponseWriter)
|
||||
EntryPoint(idpParams map[string]string, req *http.Request, res http.ResponseWriter) error
|
||||
Callback(formData map[string]string, idpParams map[string]string, res http.ResponseWriter) (map[string]string, error)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user