graph-oauth 3.0.0

Rust SDK Client for Microsoft Identity Platform
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::interactive::{WebViewAuthorizationEvent, WebViewOptions};
use graph_error::WebViewResult;
use std::fmt::Debug;

pub trait WithInteractiveAuth<T> {
    type CredentialBuilder: Clone + Debug;

    fn with_interactive_auth(
        &self,
        auth_type: T,
        options: WebViewOptions,
    ) -> WebViewResult<WebViewAuthorizationEvent<Self::CredentialBuilder>>;
}