blob: 1ff51213bafdd27db8d4bc0c569b9a81bf032e7a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "connection_auth_context.h"
namespace vespalib::net {
ConnectionAuthContext::ConnectionAuthContext(tls::PeerCredentials peer_credentials,
tls::CapabilitySet capabilities) noexcept
: _peer_credentials(std::move(peer_credentials)),
_capabilities(std::move(capabilities))
{
}
ConnectionAuthContext::ConnectionAuthContext(const ConnectionAuthContext&) = default;
ConnectionAuthContext& ConnectionAuthContext::operator=(const ConnectionAuthContext&) = default;
ConnectionAuthContext::ConnectionAuthContext(ConnectionAuthContext&&) noexcept = default;
ConnectionAuthContext& ConnectionAuthContext::operator=(ConnectionAuthContext&&) noexcept = default;
ConnectionAuthContext::~ConnectionAuthContext() = default;
}
|