Struct WebAccountManager
pub struct WebAccountManager;
Implementations§
§impl WebAccountManager
impl WebAccountManager
pub fn UpdateWebAccountPropertiesAsync<P0, P2>(
webaccount: P0,
webaccountusername: &HSTRING,
additionalproperties: P2,
) -> Result<IAsyncAction>where
P0: Param<WebAccount>,
P2: Param<IMapView<HSTRING, HSTRING>>,
pub fn AddWebAccountAsync<P2>(
webaccountid: &HSTRING,
webaccountusername: &HSTRING,
props: P2,
) -> Result<IAsyncOperation<WebAccount>>where
P2: Param<IMapView<HSTRING, HSTRING>>,
pub fn DeleteWebAccountAsync<P0>(webaccount: P0) -> Result<IAsyncAction>where
P0: Param<WebAccount>,
pub fn FindAllProviderWebAccountsAsync() -> Result<IAsyncOperation<IVectorView<WebAccount>>>
pub fn PushCookiesAsync<P0, P1>(uri: P0, cookies: P1) -> Result<IAsyncAction>where
P0: Param<Uri>,
P1: Param<IVectorView<HttpCookie>>,
pub fn SetViewAsync<P0, P1>(webaccount: P0, view: P1) -> Result<IAsyncAction>where
P0: Param<WebAccount>,
P1: Param<WebAccountClientView>,
pub fn ClearViewAsync<P0, P1>(
webaccount: P0,
applicationcallbackuri: P1,
) -> Result<IAsyncAction>where
P0: Param<WebAccount>,
P1: Param<Uri>,
pub fn GetViewsAsync<P0>(
webaccount: P0,
) -> Result<IAsyncOperation<IVectorView<WebAccountClientView>>>where
P0: Param<WebAccount>,
pub fn SetWebAccountPictureAsync<P0, P1>(
webaccount: P0,
webaccountpicture: P1,
) -> Result<IAsyncAction>where
P0: Param<WebAccount>,
P1: Param<IRandomAccessStream>,
pub fn ClearWebAccountPictureAsync<P0>(webaccount: P0) -> Result<IAsyncAction>where
P0: Param<WebAccount>,
pub fn PullCookiesAsync( uristring: &HSTRING, callerpfn: &HSTRING, ) -> Result<IAsyncAction>
pub fn FindAllProviderWebAccountsForUserAsync<P0>(
user: P0,
) -> Result<IAsyncOperation<IVectorView<WebAccount>>>where
P0: Param<User>,
pub fn AddWebAccountForUserAsync<P0, P3>(
user: P0,
webaccountid: &HSTRING,
webaccountusername: &HSTRING,
props: P3,
) -> Result<IAsyncOperation<WebAccount>>where
P0: Param<User>,
P3: Param<IMapView<HSTRING, HSTRING>>,
pub fn AddWebAccountWithScopeForUserAsync<P0, P3>(
user: P0,
webaccountid: &HSTRING,
webaccountusername: &HSTRING,
props: P3,
scope: WebAccountScope,
) -> Result<IAsyncOperation<WebAccount>>where
P0: Param<User>,
P3: Param<IMapView<HSTRING, HSTRING>>,
pub fn AddWebAccountWithScopeAndMapForUserAsync<P0, P3>(
user: P0,
webaccountid: &HSTRING,
webaccountusername: &HSTRING,
props: P3,
scope: WebAccountScope,
peruserwebaccountid: &HSTRING,
) -> Result<IAsyncOperation<WebAccount>>where
P0: Param<User>,
P3: Param<IMapView<HSTRING, HSTRING>>,
pub fn InvalidateAppCacheForAllAccountsAsync() -> Result<IAsyncAction>
pub fn InvalidateAppCacheForAccountAsync<P0>(
webaccount: P0,
) -> Result<IAsyncAction>where
P0: Param<WebAccount>,
pub fn AddWebAccountWithScopeAndMapAsync<P2>(
webaccountid: &HSTRING,
webaccountusername: &HSTRING,
props: P2,
scope: WebAccountScope,
peruserwebaccountid: &HSTRING,
) -> Result<IAsyncOperation<WebAccount>>where
P2: Param<IMapView<HSTRING, HSTRING>>,
pub fn SetPerAppToPerUserAccountAsync<P0>(
perappaccount: P0,
peruserwebaccountid: &HSTRING,
) -> Result<IAsyncAction>where
P0: Param<WebAccount>,
pub fn GetPerUserFromPerAppAccountAsync<P0>(
perappaccount: P0,
) -> Result<IAsyncOperation<WebAccount>>where
P0: Param<WebAccount>,
pub fn ClearPerUserFromPerAppAccountAsync<P0>(
perappaccount: P0,
) -> Result<IAsyncAction>where
P0: Param<WebAccount>,
pub fn AddWebAccountWithScopeAsync<P2>(
webaccountid: &HSTRING,
webaccountusername: &HSTRING,
props: P2,
scope: WebAccountScope,
) -> Result<IAsyncOperation<WebAccount>>where
P2: Param<IMapView<HSTRING, HSTRING>>,
pub fn SetScopeAsync<P0>(
webaccount: P0,
scope: WebAccountScope,
) -> Result<IAsyncAction>where
P0: Param<WebAccount>,
pub fn GetScope<P0>(webaccount: P0) -> Result<WebAccountScope>where
P0: Param<WebAccount>,
Auto Trait Implementations§
impl Freeze for WebAccountManager
impl RefUnwindSafe for WebAccountManager
impl Send for WebAccountManager
impl Sync for WebAccountManager
impl Unpin for WebAccountManager
impl UnwindSafe for WebAccountManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more