pub struct MicrosoftProvider {}Implementations§
Source§impl MicrosoftProvider
impl MicrosoftProvider
Sourcepub fn new(
tenant_id: String,
client_id: String,
client_secret: String,
redirect_url: String,
) -> CustomProvider
pub fn new( tenant_id: String, client_id: String, client_secret: String, redirect_url: String, ) -> CustomProvider
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-codeclient_id- The client idclient_secret- The client secretredirect_url- The redirect url
Auto Trait Implementations§
impl Freeze for MicrosoftProvider
impl RefUnwindSafe for MicrosoftProvider
impl Send for MicrosoftProvider
impl Sync for MicrosoftProvider
impl Unpin for MicrosoftProvider
impl UnwindSafe for MicrosoftProvider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more