opentalk-client-shared 0.12.1

Types and traits that are used by the OpenTalk client library crate
Documentation
1
2
3
4
5
6
7
8
9
// SPDX-FileCopyrightText: OpenTalk GmbH <mail@opentalk.eu>
//
// SPDX-License-Identifier: EUPL-1.2

/// Trait for augmenting requests with authentication information
pub trait Authorization: std::fmt::Debug {
    /// Add authorization headers
    fn apply_authorization_headers(&self, headers: &mut http::HeaderMap);
}