General cleanup.
This commit is contained in:
1 parent
96e419c12c
commit
160d704114
6 files changed
+23
-22
No files matched your search
@@ -15,6 +15,7 @@
|
||||
#include <forward_list>
|
||||
#include <string>
|
||||
|
||||
// A list with easily checkable contents.
|
||||
class AuthList
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -15,11 +15,10 @@
|
||||
|
||||
#include <jwp-plugin/AuthList.hpp>
|
||||
|
||||
#include <jwt-cpp/jwt.h>
|
||||
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
||||
// Autenticates a user using jwts.
|
||||
class Authorizer
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// Mosquitto authentication plugin that using Authorizer to authorize
|
||||
// users using jwts.
|
||||
|
||||
extern "C" {
|
||||
#include "mosquitto.h"
|
||||
#include "mosquitto_broker.h"
|
||||
|
||||
Reference in new issue
Block a user