auth

Paddy 2015-01-04 Parent:c03b5eb3179e Child:8267e1c8bcd1

108:2e4b5722eed0 Go to Latest

auth/authd/server.go

Add support for registering Clients. Add an API endpoint to register Clients, which was the last step necessary before the OAuth2 integration could be tried out.

History
     1.1 --- a/authd/server.go	Wed Dec 17 22:27:44 2014 -0500
     1.2 +++ b/authd/server.go	Sun Jan 04 00:07:27 2015 -0500
     1.3 @@ -33,6 +33,7 @@
     1.4  	auth.RegisterOAuth2(router, context)
     1.5  	auth.RegisterSessionHandlers(router, context)
     1.6  	auth.RegisterProfileHandlers(router, context)
     1.7 +	auth.RegisterClientHandlers(router, context)
     1.8  	http.Handle("/", router)
     1.9  	log.Fatal(http.ListenAndServe(":8080", nil))
    1.10  }