Implement oauth login proxy (#2425)
This commit is contained in:
parent
c18eb34df6
commit
cb44888dba
6 changed files with 182 additions and 139 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue