Skip to content

Commit

Permalink
Adjust documentation of microsoft
Browse files Browse the repository at this point in the history
  • Loading branch information
torto committed May 10, 2024
1 parent a10ffc0 commit 6d490b0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/providers/microsoft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ use crate::CustomProvider;
pub struct MicrosoftProvider {}

impl MicrosoftProvider {
/// Create a new MicrosoftProvider
///
/// # Arguments
/// * `tenant_id` - The tenant id - Check Microsfot docmentation for more information: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow#request-an-authorization-code
/// * `client_id` - The client id
/// * `client_secret` - The client secret
/// * `redirect_url` - The redirect url
///
pub fn new(
tenant_id: String,
client_id: String,
Expand Down

0 comments on commit 6d490b0

Please sign in to comment.