14 lines
		
	
	
		
			498 B
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			498 B
		
	
	
	
		
			Go
		
	
	
	
package web
 | 
						|
 | 
						|
import (
 | 
						|
	"github.com/gorilla/mux"
 | 
						|
)
 | 
						|
 | 
						|
func (ws *WebServer) setupAuthRoutes(r *mux.Router) {
 | 
						|
	r.HandleFunc("/auth/onboarding", ws.authHandler.Onboarding)
 | 
						|
	r.HandleFunc("/auth/disconnect", ws.authHandler.Disconnect)
 | 
						|
	r.HandleFunc("/auth/lost-password", ws.authHandler.LostPasswordInit)
 | 
						|
	r.HandleFunc("/auth/lost-password/recover", ws.authHandler.LostPasswordRecover)
 | 
						|
	r.HandleFunc("/auth/groups/", ws.authHandler.Groups)
 | 
						|
	r.HandleFunc("/auth/groups/switch", ws.authHandler.GroupSwitch)
 | 
						|
} |