aboutsummaryrefslogblamecommitdiff
path: root/src/login/ldap_provider.rs
blob: 54ddbd5226dd91dfe19d285fb4433428bd7ee7f5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                             
                             








                              
                                                                                                   





                                          
                                                                                    


                        
use anyhow::Result;
use async_trait::async_trait;
use rusoto_signature::Region;

use crate::config::*;
use crate::login::*;

pub struct LdapLoginProvider {
    // TODO
}

impl LdapLoginProvider {
    pub fn new(_config: LoginLdapConfig, _k2v_region: Region, _s3_region: Region) -> Result<Self> {
        unimplemented!()
    }
}

#[async_trait]
impl LoginProvider for LdapLoginProvider {
    async fn login(&self, _username: &str, _password: &str) -> Result<Credentials> {
        unimplemented!()
    }
}