Struct msal_browser::redirect::RedirectApp[][src]

pub struct RedirectApp<FSuccess> where
    FSuccess: Fn(AuthenticationResult) + Clone
{ /* fields omitted */ }

Implementations

impl<FSuccess> RedirectApp<FSuccess> where
    FSuccess: Fn(AuthenticationResult) + Clone
[src]

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

pub async fn login_redirect(&self)[src]

pub async fn login_redirect_with_scopes<T>(&self, scopes: &[T]) where
    T: Into<String> + Clone
[src]

pub async fn acquire_token_redirect<'a>(&self, request: &'a RedirectRequest<'a>)[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]

Trait Implementations

impl<FSuccess> Clone for RedirectApp<FSuccess> where
    FSuccess: Fn(AuthenticationResult) + Clone
[src]

impl<FSuccess> PublicClientApplication for RedirectApp<FSuccess> where
    FSuccess: Fn(AuthenticationResult) + Clone
[src]

Auto Trait Implementations

impl<FSuccess> RefUnwindSafe for RedirectApp<FSuccess> where
    FSuccess: RefUnwindSafe

impl<FSuccess> !Send for RedirectApp<FSuccess>

impl<FSuccess> !Sync for RedirectApp<FSuccess>

impl<FSuccess> Unpin for RedirectApp<FSuccess> where
    FSuccess: Unpin

impl<FSuccess> UnwindSafe for RedirectApp<FSuccess> where
    FSuccess: UnwindSafe

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.