diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2010-11-16 12:08:36 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2010-11-16 12:08:36 +0000 |
| commit | d6c06d5e66d6edf782c059a294767139e4e054a4 (patch) | |
| tree | 11c87e4678ab3637411272c9f458d730a3e923d0 /include | |
| parent | 11779f5c25d635dd76b5050df5cd41ba1f3f2a6a (diff) | |
| download | rabbitmq-server-git-d6c06d5e66d6edf782c059a294767139e4e054a4.tar.gz | |
Specs.
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit_auth_mechanism_spec.hrl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/rabbit_auth_mechanism_spec.hrl b/include/rabbit_auth_mechanism_spec.hrl index f88bebb51c..56c8faf621 100644 --- a/include/rabbit_auth_mechanism_spec.hrl +++ b/include/rabbit_auth_mechanism_spec.hrl @@ -30,6 +30,13 @@ %% -ifdef(use_specs). -%% TODO +-spec(description/0 :: () -> [{atom(), any()}]). +-spec(should_offer/1 :: (rabbit_net:socket()) -> boolean()). +-spec(init/1 :: (rabbit_net:socket()) -> any()). +-spec(handle_response/2 :: (binary(), any()) -> + {'ok', rabbit_types:user()} | + {'challenge', binary(), any()} | + {'protocol_error', string(), [any()]} | + {'refused', rabbit_access_control:username()}). -endif. |
