README
¶
XDEX Auth
This service allows to register and authenticate to have access to other xdex services protected by authorization tokens.
The registration starts by requesting a challenge, a random blob of bytes that must be signed with some private key.
A token granting access to other xdex resources is released by providing the signature generated with the private key and the relative public key.
Test
$ make test
Run locally
# start minio server
$ docker run --rm -d --name minio -p 4400:4400 \ 8s
-e "MINIO_ROOT_USER=admin" \
-e "MINIO_ROOT_PASSWORD=admin123" \
quay.io/minio/minio server /data --address ":4400"
# start authd
$ make run
# in another tab, run example client against authd
$ go run client_example.go
Documentation
¶
There is no documentation for this package.
Directories
¶
Path | Synopsis |
---|---|
api-spec
|
|
protobuf/gen/auth/v1
Package authv1 is a reverse proxy.
|
Package authv1 is a reverse proxy. |
cmd
|
|
internal
|
|
pkg
|
|
macaroons
Module
|
Click to show internal directories.
Click to hide internal directories.