auth

module
v2.11.32 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2022 License: MIT

README

auth

Build codecov 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.

Directories

Path Synopsis
cmd
pkg
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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