pub struct MicrosoftOptions {
pub tenant_id: Option<String>,
pub authority: Option<String>,
pub profile_photo_size: MicrosoftProfilePhotoSize,
pub disable_profile_photo: bool,
pub additional_client_ids: Vec<String>,
pub client_assertion: Option<Arc<dyn ClientAssertion>>,
}Expand description
Social Microsoft options. Generic Entra uses GenericOAuthConfig::microsoft_entra_id.
Fields§
§tenant_id: Option<String>Omission or an empty value selects common.
Omission or an empty value selects https://login.microsoftonline.com.
profile_photo_size: MicrosoftProfilePhotoSize§disable_profile_photo: bool§additional_client_ids: Vec<String>Additional accepted ID-token audiences. The provider client ID remains primary.
client_assertion: Option<Arc<dyn ClientAssertion>>Obtain an assertion for each code or refresh grant instead of using a secret.
Trait Implementations§
Source§impl Clone for MicrosoftOptions
impl Clone for MicrosoftOptions
Auto Trait Implementations§
impl !RefUnwindSafe for MicrosoftOptions
impl !UnwindSafe for MicrosoftOptions
impl Freeze for MicrosoftOptions
impl Send for MicrosoftOptions
impl Sync for MicrosoftOptions
impl Unpin for MicrosoftOptions
impl UnsafeUnpin for MicrosoftOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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