🥸Basic Auth
Configuration for basic authentication
The basicAuth
key is used to store user credentials that will be used with Basic Authentication and how the passwords are stored in memory.
HashAlgorithm
This is the default algorithm used when hashing the user storage passwords in memory. The default is SHA-512
HashIterations
Iterates the number of times the hash is computed to create a more computationally intensive hash. The default is 5
Users
This is the in-memory user storage system. It's a struct
and each key represents a unique username
in the storage system. Each user can then have the following attributes, but in reality, you can add as many attributes as you want.
password
- The only mandatory attribute.firstName
lastName
roles
permissions
Last updated