storj/pointerdb/auth
Kaloyan Raev daf391e473
Refactor List in PointerDB (#163)
* Refactor List in Pointer DB

* Fix pointerdb-client example

* Fix issue in Path type related to empty paths

* Test for the PointerDB service with some fixes

* Fixed debug message in example: trancated --> more

* GoDoc comments for unexported methods

* TODO comment to check if Put is overwriting

* Log warning if protobuf timestamp cannot be converted

* TODO comment to make ListPageLimit configurable

* Rename 'segment' package to 'segments' to reflect folder name
2018-07-27 09:02:59 +03:00
..
process_api_key.go Refactor List in PointerDB (#163) 2018-07-27 09:02:59 +03:00
README.md rename netstate to pointerdb (#127) 2018-07-06 15:43:53 -04:00

Purpose of this is to process an API Key to see if it matches the correct client.

Import the following libraries with: go get -u github.com/spf13/viper go get -u github.com/spf13/pflag

To use, run in examples/auth/main.go: $ go run main.go --key=yourkey

Default api key is preset with the mocked headers. This will be changed later.

Where this is going: We're going to be using macaroons to validate a token and permissions. This is a small step to building in that direction.