[−][src]Struct msal_browser::popup::PopupApp
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<'a, T, '_>(
&'_ self,
scopes: &'a [T]
) -> Result<AuthenticationResult, JsValue> where
T: Into<String> + Clone,
[src]
&'_ self,
scopes: &'a [T]
) -> Result<AuthenticationResult, JsValue> where
T: Into<String> + Clone,
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>
pub async fn acquire_token_popup<'a, '_>(
&'_ self,
request: &'a AuthorizationUrlRequest<'a>
) -> Result<AuthenticationResult, JsValue>
[src]
&'_ self,
request: &'a AuthorizationUrlRequest<'a>
) -> Result<AuthenticationResult, JsValue>
Trait Implementations
impl PublicClientApplication for PopupApp
[src]
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 logout<'a>(&self, request: Option<EndSessionRequest<'a>>)
[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]
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, 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>,