summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_auth.go
blob: 9f312683deabdafa27630f14110798cc7300f966 (plain)
1
2
3
4
5
6
7
8
9
10
11
package server

import (
	"github.com/containers/libpod/pkg/api/handlers"
	"github.com/gorilla/mux"
)

func (s *APIServer) RegisterAuthHandlers(r *mux.Router) error {
	r.Handle(VersionedPath("/auth"), APIHandler(s.Context, handlers.UnsupportedHandler))
	return nil
}