piotrkowalczuk/charon

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# Charon [![CircleCI](https://circleci.com/gh/piotrkowalczuk/charon/tree/master.svg?style=svg)](https://circleci.com/gh/piotrkowalczuk/charon/tree/master)

[![GoDoc](https://godoc.org/github.com/piotrkowalczuk/charon?status.svg)](http://godoc.org/github.com/piotrkowalczuk/charon)
[![Test Coverage](https://api.codeclimate.com/v1/badges/de987e80be49eba8fb61/test_coverage)](https://codeclimate.com/github/piotrkowalczuk/charon/test_coverage)
[![Maintainability](https://api.codeclimate.com/v1/badges/de987e80be49eba8fb61/maintainability)](https://codeclimate.com/github/piotrkowalczuk/charon/maintainability)
[![Docker Pulls](https://img.shields.io/docker/pulls/piotrkowalczuk/charon.svg?maxAge=604800)](https://hub.docker.com/r/piotrkowalczuk/charon/)
[![pypi](https://img.shields.io/pypi/v/charon-client.svg)](https://pypi.python.org/pypi/charon-client)

<img src="/data/logo/charon.png?raw=true" width="300">

## Quick Start

### Installation

```bash
$ go install github.com/piotrkowalczuk/charon/cmd/charond
$ go install github.com/piotrkowalczuk/charon/cmd/charonctl
```

### Superuser

```bash
$ charonctl register -address=localhost:8080 -auth.disabled -register.superuser=true -register.username="j.snow@gmail.com" -register.password=123 -register.firstname=John -register.lastname=Snow
```
## Example

TODO

## Contribution

@TODO

### Documentation

@TODO

### TODO
- [x] Auth
    - [x] login
    - [x] logout
    - [x] is authenticated
    - [x] subject
    - [x] is granted
    - [x] belongs to
- [x] Permission
    - [x] get
    - [x] list
    - [x] register
- [x] Group
    - [x] get
    - [x] list
    - [x] modify
    - [x] delete
    - [x] create
    - [x] set permissions
    - [x] list permissions
- [x] User
    - [x] get
    - [x] list
    - [x] modify
    - [x] delete
    - [x] create
    - [x] set permissions
    - [x] set groups
    - [x] list permissions
    - [x] list groups
- [x] Refresh Token
    - [x] Create
    - [x] Revoke
    - [x] List