summaryrefslogtreecommitdiff
path: root/src/rabbit_auth_mechanism.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rabbit_auth_mechanism.erl')
-rw-r--r--src/rabbit_auth_mechanism.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rabbit_auth_mechanism.erl b/src/rabbit_auth_mechanism.erl
index 1d14f9f0..897199ee 100644
--- a/src/rabbit_auth_mechanism.erl
+++ b/src/rabbit_auth_mechanism.erl
@@ -23,6 +23,10 @@ behaviour_info(callbacks) ->
%% A description.
{description, 0},
+ %% If this mechanism is enabled, should it be offered for a given socket?
+ %% (primarily so EXTERNAL can be SSL-only)
+ {should_offer, 1},
+
%% Called before authentication starts. Should create a state
%% object to be passed through all the stages of authentication.
{init, 1},