auth

module
v2.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: MIT

README

auth

Build

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]:[argon2id password],[id2]:[login2]:[argon2id password2]

You can generate argon2id password using go run ./cmd/argon/ "password".

Build

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

make

Password encrypter accepts one argument, the password, and output the argon2id 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