Struct msal_browser::popup::PopupApp[][src]

pub struct PopupApp { /* fields omitted */ }

Implementations

impl PopupApp[src]

pub fn new(configuration: Configuration<'_>) -> Self[src]

pub async fn login_popup(&self) -> Result<AuthenticationResult, JsValue>[src]

pub async fn login_popup_with_scopes<T>(
    &self,
    scopes: &[T]
) -> Result<AuthenticationResult, JsValue> where
    T: Into<String> + Clone
[src]

pub async fn sso_silent<'a>(
    &self,
    request: &'a AuthorizationUrlRequest<'a>
) -> Result<AuthenticationResult, JsValue>
[src]

pub async fn acquire_token_silent<'a>(
    &self,
    request: &'a SilentRequest<'a>
) -> Result<AuthenticationResult, JsValue>
[src]

pub async fn acquire_token_popup<'a>(
    &self,
    request: &'a AuthorizationUrlRequest<'a>
) -> Result<AuthenticationResult, JsValue>
[src]

Trait Implementations

impl Clone for PopupApp[src]

impl PublicClientApplication for PopupApp[src]

Auto Trait Implementations

impl RefUnwindSafe for PopupApp

impl !Send for PopupApp

impl !Sync for PopupApp

impl Unpin for PopupApp

impl UnwindSafe for PopupApp

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.