1%% This Source Code Form is subject to the terms of the Mozilla Public
2%% License, v. 2.0. If a copy of the MPL was not distributed with this
3%% file, You can obtain one at https://mozilla.org/MPL/2.0/.
4%%
5%% Copyright (c) 2007-2021 VMware, Inc. or its affiliates.  All rights reserved.
6%%
7
8-module(rabbit_credential_validator_accept_everything).
9
10-include_lib("rabbit_common/include/rabbit.hrl").
11
12-behaviour(rabbit_credential_validator).
13
14%%
15%% API
16%%
17
18-export([validate/2]).
19
20-spec validate(rabbit_types:username(), rabbit_types:password()) -> 'ok' | {'error', string()}.
21
22validate(_Username, _Password) ->
23    ok.
24