dco3 0.20.1

Async API wrapper for DRACOON in Rust.
Documentation
use std::sync::Arc;

use crate::client::DracoonClient;

use self::auth::SystemAuthEndpoint;

pub use self::auth::AuthenticationMethods;

mod auth;

#[derive(Clone)]
pub struct SystemEndpoint<S> {
    pub auth: SystemAuthEndpoint<S>,
}

impl<S> SystemEndpoint<S> {
    pub fn new(client: Arc<DracoonClient<S>>) -> Self {
        Self {
            auth: SystemAuthEndpoint::new(client),
        }
    }
}