Merge pull request #6723 from zmstone/docs-ensure-authn-schema-ns

docs: ensure authn schema ns for password-hash structs
This commit is contained in:
Zaiming (Stone) Shi 2022-01-12 16:42:04 +01:00 committed by GitHub
commit 0d86d41f95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,8 @@
-behaviour(hocon_schema). -behaviour(hocon_schema).
-export([roots/0, -export([roots/0,
fields/1]). fields/1,
namespace/0]).
-export([type_ro/1, -export([type_ro/1,
type_rw/1]). type_rw/1]).
@ -51,6 +52,7 @@
hash/2, hash/2,
check_password/4]). check_password/4]).
namespace() -> "authn-hash".
roots() -> [pbkdf2, bcrypt, bcrypt_rw, other_algorithms]. roots() -> [pbkdf2, bcrypt, bcrypt_rw, other_algorithms].
fields(bcrypt_rw) -> fields(bcrypt_rw) ->