pub struct MicrosoftProviderForWebApps { /* private fields */ }Implementations§
Source§impl MicrosoftProviderForWebApps
impl MicrosoftProviderForWebApps
pub fn new( tenant: impl AsRef<str>, client_id: ClientId, client_secret: ClientSecret, redirect_uri: RedirectUri, ) -> Result<Self, UrlParseError>
Trait Implementations§
Source§impl Clone for MicrosoftProviderForWebApps
impl Clone for MicrosoftProviderForWebApps
Source§fn clone(&self) -> MicrosoftProviderForWebApps
fn clone(&self) -> MicrosoftProviderForWebApps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MicrosoftProviderForWebApps
impl Debug for MicrosoftProviderForWebApps
Source§impl ProviderExtAuthorizationCodeGrant for MicrosoftProviderForWebApps
impl ProviderExtAuthorizationCodeGrant for MicrosoftProviderForWebApps
fn redirect_uri(&self) -> Option<&RedirectUri>
fn oidc_support_type( &self, ) -> Option<ProviderExtAuthorizationCodeGrantOidcSupportType>
fn pkce_support_type( &self, ) -> Option<ProviderExtAuthorizationCodeGrantPkceSupportType>
fn scopes_default(&self) -> Option<Vec<<Self as Provider>::Scope>>
fn access_token_request_body_extra( &self, _body: &BodyWithAuthorizationCodeGrant, ) -> Option<Map<String, Value>>
fn access_token_request_rendering( &self, _body: &BodyWithAuthorizationCodeGrant, ) -> Option<Result<Request<Vec<u8>>, Box<dyn Error + Sync + Send>>>
fn access_token_response_parsing( &self, _response: &Response<Vec<u8>>, ) -> Option<Result<Result<SuccessfulBody<Self::Scope>, ErrorBody>, Box<dyn Error + Sync + Send>>>
Auto Trait Implementations§
impl Freeze for MicrosoftProviderForWebApps
impl RefUnwindSafe for MicrosoftProviderForWebApps
impl Send for MicrosoftProviderForWebApps
impl Sync for MicrosoftProviderForWebApps
impl Unpin for MicrosoftProviderForWebApps
impl UnsafeUnpin for MicrosoftProviderForWebApps
impl UnwindSafe for MicrosoftProviderForWebApps
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