auth

module
v2.6.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2021 License: MIT

README

auth

Build codecov Go Report Card Quality Gate Status

Authentification for apps in microservices.

Getting Started

You can use a simple login/password file for authentication.

Basic Login/Password

Write user's credentials with the following format :

[id]:[login]:[bcrypt password],[id2]:[login2]:[bcrypt password2]

You can generate bcrypted password using go run cmd/bcrypt/bcrypt.go "password".

Build

In order to build the whole stuff, run the following command.

make

Password encrypter accepts one argument, the password, and output the bcrypted one.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL