Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit bfd9c89

Browse files
rabbit_authn_backend:user_login_authentication/2: allow maps as context info
"Maps all the things" and all.
1 parent 4cbc660 commit bfd9c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_authn_backend.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
%% Something went wrong. Log and die.
3131
%% {refused, Msg, Args}
3232
%% Client failed authentication. Log and die.
33-
-callback user_login_authentication(rabbit_types:username(), [term()]) ->
33+
-callback user_login_authentication(rabbit_types:username(), [term()] | map()) ->
3434
{'ok', rabbit_types:auth_user()} |
3535
{'refused', string(), [any()]} |
3636
{'error', any()}.

0 commit comments

Comments
 (0)