dex/server
Justin Slowik 9bbdc721d5 Device flow token code exchange (#2)
* Added /device/token handler with associated business logic and storage tests.

Perform user code exchange, flag the device code as complete.

Moved device handler code into its own file for cleanliness.  Cleanup

* Removed PKCE code

* Rate limiting for /device/token endpoint based on ietf standards

* Configurable Device expiry

Signed-off-by: justin-slowik <justin.slowik@thermofisher.com>
2020-07-08 16:25:05 -04:00
..
internal regenerate protobuf code 2019-07-31 08:16:18 +02:00
api.go Add v2 api module 2020-07-01 14:20:57 +02:00
api_test.go Add v2 api module 2020-07-01 14:20:57 +02:00
deviceHandlers.go Device flow token code exchange (#2) 2020-07-08 16:25:05 -04:00
doc.go initial commit 2016-07-26 15:51:24 -07:00
handlers.go Device flow token code exchange (#2) 2020-07-08 16:25:05 -04:00
handlers_test.go Fix whitespace 2019-12-18 15:56:12 +01:00
oauth2.go Device flow token code exchange (#2) 2020-07-08 16:25:05 -04:00
oauth2_test.go Use connector_id param to skip directly to a specific connector 2019-07-22 10:47:11 -05:00
rotation.go *: fix some lint issues 2019-07-30 11:29:08 +02:00
rotation_test.go Remove the logrus logger wrapper 2019-02-22 21:31:46 +01:00
server.go Device flow token code exchange (#2) 2020-07-08 16:25:05 -04:00
server_test.go Fix bodyclose 2019-12-18 16:04:03 +01:00
templates.go Device flow token code exchange (#2) 2020-07-08 16:25:05 -04:00
templates_test.go templates: add new relativeURL function 2019-10-02 17:08:06 +03:00