Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #66 from himmelblau-idm/dmulder/samba_changes
Browse files Browse the repository at this point in the history
Samba changes
  • Loading branch information
dmulder authored May 23, 2024
2 parents fd4ed80 + 31aa498 commit 37bee7d
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "msal"
description = "Microsoft Authentication Library for Rust"
description = "Microsoft Compatible Authentication Library for Rust"
version = "0.2.3"
edition = "2021"
authors = [
Expand Down
18 changes: 18 additions & 0 deletions src/auth.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
Unix Azure Entra ID implementation
Copyright (C) David Mulder <[email protected]> 2024
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

use crate::error::{ErrorResponse, MsalError};
use base64::engine::general_purpose::URL_SAFE_NO_PAD;
use base64::Engine;
Expand Down
18 changes: 18 additions & 0 deletions src/discovery.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
Unix Azure Entra ID implementation
Copyright (C) David Mulder <[email protected]> 2024
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

use crate::error::MsalError;
use base64::engine::general_purpose::STANDARD;
use base64::Engine;
Expand Down
18 changes: 18 additions & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
Unix Azure Entra ID implementation
Copyright (C) David Mulder <[email protected]> 2024
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

use serde::{Deserialize, Serialize};

pub const INVALID_CRED: u32 = 0xC3CE;
Expand Down
18 changes: 18 additions & 0 deletions src/graph.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
Unix Azure Entra ID implementation
Copyright (C) David Mulder <[email protected]> 2024
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

use crate::error::MsalError;
use reqwest::{header, Client, Url};
use serde::Deserialize;
Expand Down
18 changes: 18 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
Unix Azure Entra ID implementation
Copyright (C) David Mulder <[email protected]> 2024
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#![deny(warnings)]
#![warn(unused_extern_crates)]
#![deny(clippy::todo)]
Expand Down

0 comments on commit 37bee7d

Please sign in to comment.