Implement oauth login proxy (#2425)

This commit is contained in:
andig 2022-01-31 19:42:32 +01:00 • committed by GitHub
parent c18eb34df6
commit cb44888dba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 182 additions and 139 deletions

View file

@ -203,8 +203,7 @@ type WebController interface {
// ProviderLogin is the ability to provide OAuth authentication through the ui
type ProviderLogin interface {
SetCallbackParams(uri string, authenticated chan<- bool)
SetCallbackParams(baseURL, redirectURL string, authenticated chan<- bool)
LoginHandler() http.HandlerFunc
LogoutHandler() http.HandlerFunc
CallbackHandler(baseURI string) http.HandlerFunc
}