Struct msal_browser::popup::PopupApp [−][src]
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]
&self,
scopes: &[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 Clone for PopupApp
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
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 get_account_by_home_id(&self, home_id: &str) -> Option<AccountInfo>
[src]
fn logout(&self, request: Option<EndSessionRequest<'_>>)
[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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,