[−][src]Struct msal_browser::redirect::RedirectApp
Implementations
impl<FSuccess> RedirectApp<FSuccess> where
FSuccess: Fn(AuthenticationResult) + Clone,
[src]
FSuccess: Fn(AuthenticationResult) + Clone,
pub fn new(
configuration: Configuration<'_>,
on_redirect_success: FSuccess
) -> Self
[src]
configuration: Configuration<'_>,
on_redirect_success: FSuccess
) -> Self
pub async fn login_redirect<'_>(&'_ self)
[src]
pub async fn login_redirect_with_scopes<'a, T, '_>(&'_ self, scopes: &'a [T]) where
T: Into<String> + Clone,
[src]
T: Into<String> + Clone,
pub async fn acquire_token_redirect<'a, '_>(
&'_ self,
request: &'a RedirectRequest<'a>
)
[src]
&'_ self,
request: &'a RedirectRequest<'a>
)
pub async fn sso_silent<'a, '_>(
&'_ self,
request: &'a AuthorizationUrlRequest<'a>
) -> Result<AuthenticationResult, JsValue>
[src]
&'_ self,
request: &'a AuthorizationUrlRequest<'a>
) -> Result<AuthenticationResult, JsValue>
pub async fn acquire_token_silent<'a, '_>(
&'_ self,
request: &'a SilentRequest<'a>
) -> Result<AuthenticationResult, JsValue>
[src]
&'_ self,
request: &'a SilentRequest<'a>
) -> Result<AuthenticationResult, JsValue>
Trait Implementations
impl<FSuccess> Clone for RedirectApp<FSuccess> where
FSuccess: Fn(AuthenticationResult) + Clone,
[src]
FSuccess: Fn(AuthenticationResult) + Clone,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<FSuccess> PublicClientApplication for RedirectApp<FSuccess> where
FSuccess: Fn(AuthenticationResult) + Clone,
[src]
FSuccess: Fn(AuthenticationResult) + Clone,
fn client_id(&self) -> String
[src]
fn authority(&self) -> Option<String>
[src]
fn redirect_uri(&self) -> Option<String>
[src]
fn get_all_accounts(&self) -> Option<Vec<AccountInfo>>
[src]
fn get_account_by_username(&self, username: &str) -> Option<AccountInfo>
[src]
fn get_account_by_home_id(&self, home_id: &str) -> Option<AccountInfo>
[src]
fn logout<'a>(&self, request: Option<EndSessionRequest<'a>>)
[src]
Auto Trait Implementations
impl<FSuccess> RefUnwindSafe for RedirectApp<FSuccess> where
FSuccess: RefUnwindSafe,
FSuccess: RefUnwindSafe,
impl<FSuccess> !Send for RedirectApp<FSuccess>
impl<FSuccess> !Sync for RedirectApp<FSuccess>
impl<FSuccess> Unpin for RedirectApp<FSuccess> where
FSuccess: Unpin,
FSuccess: Unpin,
impl<FSuccess> UnwindSafe for RedirectApp<FSuccess> where
FSuccess: UnwindSafe,
FSuccess: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,