While working on Dossier, I wanted to allow generating tokens to use in continuous integration that allow authenticating using the BonsaiDb built-in Cli interface.
This pull request looks to address the ability to assume a user or role's identity using a token created on the server.
The approach is described in the documentation on TokenChallengeAlgorithm::Blake3, and the hash computation and actual hash calls are constrained to authentication_token.rs.
[x] Make token authentication an optional feature.
While working on Dossier, I wanted to allow generating tokens to use in continuous integration that allow authenticating using the BonsaiDb built-in Cli interface.
This pull request looks to address the ability to assume a user or role's identity using a token created on the server.
The approach is described in the documentation on
TokenChallengeAlgorithm::Blake3
, and the hash computation and actual hash calls are constrained toauthentication_token.rs
.