summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_authz_backend.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_authz_backend.erl b/src/rabbit_authz_backend.erl
index 12364b654b..0c97b2047c 100644
--- a/src/rabbit_authz_backend.erl
+++ b/src/rabbit_authz_backend.erl
@@ -28,14 +28,14 @@
%% check_resource_access/3.
%%
%% Possible responses:
-%% {ok, Impl}
-%% User authorisation succeeded, and here's the impl field.
+%% {ok, Impl, Tags}
+%% User authorisation succeeded, and here's the impl and extra tags fields.
%% {error, Error}
%% Something went wrong. Log and die.
%% {refused, Msg, Args}
%% User authorisation failed. Log and die.
-callback user_login_authorization(rabbit_types:username()) ->
- {'ok', any()} |
+ {'ok', any(), any()} |
{'refused', string(), [any()]} |
{'error', any()}.