Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amirhnajafiz/caaas
Central authentication and authorization service.
https://github.com/amirhnajafiz/caaas
authentication authorization central-authentication-service go golang
Last synced: about 1 month ago
JSON representation
Central authentication and authorization service.
- Host: GitHub
- URL: https://github.com/amirhnajafiz/caaas
- Owner: amirhnajafiz
- Created: 2022-09-07T07:44:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-28T14:12:20.000Z (6 months ago)
- Last Synced: 2024-07-11T14:01:32.667Z (6 months ago)
- Topics: authentication, authorization, central-authentication-service, go, golang
- Language: Go
- Homepage:
- Size: 12.8 MB
- Stars: 6
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CAAAS
Centeral Authentication and Authorization service. CAAAS is a simple and fast tool for identifying your users and authorizing them. It supports global groups and roles resources in order to authorize your users.
By using `Golang` and `Echo`, it is designed to be fast and light. CAAAS uses `postgresQL` as it database, where it stores three main tables named `users`, `user-groups`, and `user-roles`.
## Structure
- For each user, there is database record that has `Username` and `Password`
- For each user-group, there is a set of `Username` and `GroupName`
- For each user-role, there is a set of `Username` and `Role`## APIs
CAAAS provides two types of service. An `api` and a `gateway`. APIs are used to handle
administrator operations as follow:- Add a user
- Remove a user
- Update a user password
- Add user to a group
- Remove user from a group
- Remove a group
- Add a role to a user
- Remove a role from a user
- Remove a role
- Fetch user and users dataGateways are very fast http services that are designed to handle the following methods:
- Login
- Validate
- Groups
- RolesYou can read more about its usages in [DOCS.md](./docs/README.md).