| // Copyright 2024 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "net/device_bound_sessions/session_params.h" |
| |
| namespace net::device_bound_sessions { |
| |
| SessionParams::SessionParams(std::string id, |
| std::string refresh, |
| Scope incoming_scope, |
| std::vector<Credential> creds) |
| : session_id(std::move(id)), |
| refresh_url(std::move(refresh)), |
| scope(std::move(incoming_scope)), |
| credentials(std::move(creds)) {} |
| |
| SessionParams::SessionParams(SessionParams&& other) noexcept = default; |
| |
| SessionParams& SessionParams::operator=(SessionParams&& other) noexcept = |
| default; |
| |
| SessionParams::~SessionParams() = default; |
| |
| SessionParams::Scope::Scope() = default; |
| |
| SessionParams::Scope::Scope(Scope&& other) noexcept = default; |
| |
| SessionParams::Scope& SessionParams::Scope::operator=( |
| SessionParams::Scope&& other) noexcept = default; |
| |
| SessionParams::Scope::~Scope() = default; |
| |
| } // namespace net::device_bound_sessions |