summaryrefslogtreecommitdiffstats
path: root/src/crimson/common/auth_handler.h
blob: d4140b6a2dd2a15730e4f9a3db43c2048637d194 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#pragma once

class EntityName;
class AuthCapsInfo;

namespace crimson::common {
class AuthHandler {
public:
  // the peer just got authorized
  virtual void handle_authentication(const EntityName& name,
				     const AuthCapsInfo& caps) = 0;
  virtual ~AuthHandler() = default;
};
}